@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Paleta da marca (logo nova): ciano #00AFEF + lima #A8CF45 */
  --blue: #00afef;
  --blue-deep: #0098da;
  --blue-soft: #e5f7fd;
  --green: #8fb82e;
  --green-bright: #a8cf45;
  --green-soft: #f3f8e4;
  --green-ink: #5a7a14;
  --navy: #071018;
  --navy-2: #0d1a24;
  --ink: #0f1626;
  --text: #3a4253;
  --muted: #6b7385;
  --faint: #9aa2b1;
  --line: #e7e9ee;
  --line-strong: #d6dae2;
  --paper: #f6f7f9;
  --white: #ffffff;
  --danger: #d93a3a;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --leaf: 40px 10px 40px 10px;
  --leaf-lg: 120px 16px 120px 16px;
  --brand-line: linear-gradient(90deg, var(--blue) 0 72%, var(--green-bright) 72% 100%);
  --shadow-soft: 0 1px 2px rgba(15, 22, 38, .04), 0 12px 32px -12px rgba(15, 22, 38, .10);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-soft); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[data-lucide], .lucide { width: 18px; height: 18px; stroke-width: 1.75; flex-shrink: 0; }
.icon-inline { width: 13px !important; height: 13px !important; vertical-align: -2px; }

.in { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: var(--ink);
  font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 175, 239, .7); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-quiet { color: var(--ink); padding-inline: 8px; }
.btn-quiet:hover { color: var(--blue); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--paper); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon:hover svg { transform: none; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .01em; }
.kicker::before { content: ""; width: 22px; height: 3px; background: var(--brand-line); border-radius: 2px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 15px; }
.link-arrow svg { color: var(--blue); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .in { height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 48px; width: auto; max-width: none; display: block; }
.dash-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.dash-logo img { height: 32px; width: auto; max-width: none; display: block; }
.footer-brand img { height: 38px; width: auto; max-width: none; display: block; }
.site-nav { display: flex; gap: 2px; margin-left: 8px; }
.site-nav a.link { color: var(--text); font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.site-nav a.link:hover { color: var(--ink); background: var(--paper); }
.site-nav a.link.is-active { color: var(--ink); background: var(--paper); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-actions .btn-primary { height: 42px; }
.menu-toggle { display: none; }
.show-xs { display: none; }

.login-menu { position: relative; }
.login-menu > .btn-primary { gap: 8px; padding-right: 14px; }
.login-menu-caret { width: 16px; height: 16px; opacity: .85; transition: transform .2s var(--ease); }
.login-menu.is-open .login-menu-caret { transform: rotate(180deg); }
.login-menu-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 40;
  width: min(360px, calc(100vw - 32px));
  padding: 8px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-soft);
  display: grid; gap: 4px;
}
.login-menu-panel[hidden] { display: none; }
.login-choice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 14px; color: var(--ink); text-decoration: none;
  transition: background .2s, color .2s;
}
.login-choice:hover { background: var(--paper); }
.login-choice > i { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); flex-shrink: 0; }
.login-choice strong { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.login-choice small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.login-menu-mobile { display: none; }
.login-menu-mobile > .btn { justify-content: center; margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 56px;
  background:
    radial-gradient(720px 480px at 92% 8%, rgba(0, 175, 239, .10), transparent 65%),
    radial-gradient(520px 380px at 4% 30%, rgba(168, 207, 69, .10), transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 78%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.group-mark { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 28px; color: var(--muted); font-size: 13px; font-weight: 500; }
.group-mark img { height: 24px; width: auto; padding-right: 14px; border-right: 1px solid var(--line-strong); box-sizing: content-box; }
.group-mark:hover { color: var(--ink); }
.hero h1, .page-hero h1 { font-size: 56px; line-height: 1.06; letter-spacing: -.04em; font-weight: 600; max-width: 620px; }
.hero-lead { font-size: 18px; line-height: 1.7; color: var(--muted); margin-top: 24px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 36px; }
.hero-meta { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13.5px; color: var(--muted); }
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Medidas do símbolo Previnity (arquivo 1024px): coluna 289, faixa verde 187, corte 72, raio 289.
   O bloco da foto é alongado; o restante mantém a proporção original. */
.hero-visual { position: relative; container-type: inline-size; aspect-ratio: 1776 / 1849; }
.sym, .hero-figure { --u: calc(100cqw / 1776); position: absolute; display: block; }
.sym { background: var(--blue); }
.sym-top { left: 0; top: 0; width: calc(var(--u) * 289); height: calc(var(--u) * 1301); border-top-left-radius: calc(var(--u) * 289); }
.sym-green { left: calc(var(--u) * 289); top: 0; width: calc(var(--u) * 187); height: calc(var(--u) * 1301); background: var(--green-bright); z-index: 1; }
.sym-link { left: calc(var(--u) * 289); top: calc(var(--u) * 1301 - 1px); width: calc(var(--u) * 187 + 1px); height: calc(var(--u) * 72 + 2px); }
.sym-tail { left: 0; top: calc(var(--u) * 1373); width: calc(var(--u) * 476 + 1px); height: calc(var(--u) * 476); border-bottom-left-radius: calc(var(--u) * 289); }
.sym-green--low { top: calc(var(--u) * 1373); height: calc(var(--u) * 187); }
.hero-figure {
  left: calc(var(--u) * 476); top: 0; width: calc(var(--u) * 1300); height: calc(var(--u) * 1560);
  overflow: hidden; background: var(--blue); border-bottom-right-radius: calc(var(--u) * 289);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }

.partners { position: relative; margin-top: 96px; padding-top: 36px; padding-bottom: 8px; display: flex; align-items: center; gap: 48px; }
.partners::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.partners p { font-size: 13.5px; color: var(--muted); max-width: 200px; line-height: 1.5; flex-shrink: 0; }
.partners-row { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.partners-row img { height: 56px; width: 104px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .55; transition: opacity .3s, filter .3s; }
.partners-row img:hover { opacity: 1; filter: none; }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-tint { background: var(--paper); }
.section-title { font-size: 40px; letter-spacing: -.035em; margin-top: 18px; max-width: 640px; }
.section-lead { color: var(--muted); font-size: 17px; line-height: 1.7; margin-top: 18px; max-width: 640px; }

.statement { font-size: 40px; line-height: 1.25; letter-spacing: -.03em; color: var(--ink); font-weight: 500; margin-top: 24px; max-width: 1000px; }
.statement span { color: var(--text); }
.statement em { font-style: normal; color: var(--blue); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 80px; }
.principle, .right-card { position: relative; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.principle::before, .right-card::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 3px; background: var(--brand-line); }
.principle-num { font-size: 13px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.principle h3 { font-size: 19px; margin-top: 18px; }
.principle p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.principle-num + p { margin-top: 18px; }

/* ---------- Audiences ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.audience { background: var(--white); border-radius: var(--leaf); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.audience-figure { aspect-ratio: 16 / 10; overflow: hidden; }
.audience-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.audience:hover .audience-figure img { transform: scale(1.03); }
.audience-body { padding: 40px 44px 44px; display: flex; flex-direction: column; flex: 1; }
.audience-body h2 { font-size: 30px; letter-spacing: -.03em; margin-top: 16px; }
.audience-body > p { color: var(--muted); margin-top: 14px; }
.audience-grid--single { grid-template-columns: 1fr; }
@media (min-width: 861px) {
  .audience-grid--single .audience { flex-direction: row; }
  .audience-grid--single .audience-figure { flex: 1; aspect-ratio: auto; position: relative; }
  .audience-grid--single .audience-figure img { position: absolute; inset: 0; }
  .audience-grid--single .audience-body { flex: 1; }
}
.check-list { list-style: none; padding: 0; margin: 28px 0 32px; flex: 1; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list svg { width: 16px; height: 16px; color: var(--green); stroke-width: 2.25; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
.split-aside { position: sticky; top: 120px; }
.split-aside h2 { font-size: 40px; letter-spacing: -.035em; margin-top: 18px; }
.split-aside > p { color: var(--muted); margin-top: 18px; font-size: 16.5px; max-width: 420px; }

.solution-list { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.solution-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 32px 0; border-top: 1px solid var(--line-strong); transition: padding-left .3s var(--ease); }
.solution-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.solution-list li:hover { padding-left: 8px; }
.solution-list h3 { transition: color .2s; }
.solution-list li:hover h3 { color: var(--blue); }
.solution-num { font-size: 13px; font-weight: 600; color: var(--blue); padding-top: 6px; font-variant-numeric: tabular-nums; }
.solution-list h3 { font-size: 22px; letter-spacing: -.02em; }
.solution-list p { color: var(--muted); margin-top: 8px; max-width: 520px; }

.tokens-note {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px;
  padding: 24px 28px; border-radius: var(--leaf); background: var(--blue-soft); color: var(--text);
  border-left: 4px solid var(--green-bright); transition: background .25s;
}
.tokens-note:hover { background: #d4f1fc; }
.tokens-note div { display: flex; flex-direction: column; gap: 2px; }
.tokens-note strong { color: var(--ink); font-weight: 600; }
.tokens-note div span { color: var(--muted); font-size: 14.5px; }
.tokens-note-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; font-size: 14.5px; }
.tokens-note-cta svg { color: var(--blue); }
.tokens-note-coin { width: 56px; height: 56px; flex-shrink: 0; }
.tokens-note > div { flex: 1; }

/* ---------- Group ---------- */
.group { padding: 0 0 128px; }
.group + .section { padding-top: 0; }
.group-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 72px; border-radius: var(--leaf-lg); color: #b5bfd5;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(0, 175, 239, .55), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(168, 207, 69, .18), transparent 60%),
    linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 55%, #0077a8 100%);
}
.group-panel::after {
  content: ""; position: absolute; z-index: -1; right: -48px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px;
  background: url("../img/simbolo.png") center / contain no-repeat;
  opacity: .12; filter: brightness(0) invert(1);
  pointer-events: none;
}
.group-logo { height: 36px; width: auto; }
.group-copy h2 { color: #fff; font-size: 36px; letter-spacing: -.035em; margin-top: 40px; }
.group-copy p { margin-top: 18px; font-size: 16px; }
.company-list { list-style: none; padding: 0; margin: 0; }
.company { display: flex; align-items: center; gap: 20px; padding: 20px 4px; border-top: 1px solid rgba(255, 255, 255, .1); color: #aab4c8; transition: padding .3s var(--ease); }
.company-list li:last-child .company { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.company:hover { padding-left: 12px; }
.company-logo { width: 128px; height: 40px; flex-shrink: 0; display: flex; align-items: center; }
.company-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.company-logo--white { width: 120px; height: 48px; }
.company-logo--white img { filter: none; opacity: .95; }
.company-info { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.company-info strong { color: #fff; font-size: 15px; font-weight: 600; }
.company-info span { font-size: 13.5px; }
.company-here { font-size: 12px; font-weight: 600; color: var(--green-bright); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.company-here::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(168, 207, 69, .18); }
.company-arrow { color: #6f7b94; transition: color .2s, transform .2s var(--ease); }
.company:hover .company-arrow { color: #fff; transform: translate(2px, -2px); }

/* ---------- Contact ---------- */
.contact-details { margin: 44px 0 0; display: grid; gap: 22px; }
.contact-details div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.contact-details dt { font-size: 13.5px; color: var(--faint); }
.contact-details dd { margin: 0; color: var(--ink); font-size: 15px; }
.contact-details a { color: var(--ink); }
.contact-details a:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 22px; padding: 44px; border-radius: var(--leaf); background: var(--paper); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.input {
  width: 100%; height: 50px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 175, 239, .10); }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217, 58, 58, .08); }
.textarea { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.form-feedback { font-size: 14px; padding: 14px 16px; border-radius: var(--radius); background: #f3f8e4; color: #5a7a14; }
.form-feedback.is-error { background: #fcecec; color: #a12a2a; }

/* ---------- Page hero (internas) ---------- */
.page-hero {
  padding: 88px 0 112px;
  background:
    radial-gradient(720px 480px at 92% 0%, rgba(0, 175, 239, .10), transparent 65%),
    radial-gradient(520px 380px at 0% 40%, rgba(168, 207, 69, .09), transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
}
.page-hero h1 { margin-top: 20px; font-size: 52px; }
.page-hero .principles { margin-top: 72px; }
.page-hero + .section { padding-top: 40px; }
.hero-grid--tokens { grid-template-columns: 1.1fr 1fr; }

/* ---------- Token card ---------- */
.token-card { position: relative; background: var(--white); border-radius: var(--leaf); padding: 40px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); scroll-margin-top: 110px; }
.token-card::before { content: ""; position: absolute; top: -1px; left: 72px; width: 64px; height: 3px; background: var(--brand-line); border-radius: 0 0 3px 3px; }
.token-card h2 { font-size: 22px; letter-spacing: -.02em; }
.token-card > p { color: var(--muted); margin-top: 6px; }
.token-card > p strong { color: var(--ink); font-weight: 600; }
.token-coin { position: absolute; top: 28px; right: 32px; width: 72px; height: 72px; filter: drop-shadow(0 8px 12px rgba(15, 31, 57, .25)); }
.token-card > h2, .token-card > p { padding-right: 84px; }
.nity-coin { width: 22px; height: 22px; flex-shrink: 0; }
.token-form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.chip-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip {
  height: 42px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--white); font-weight: 600; font-size: 14px; cursor: pointer; color: var(--text); transition: .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.token-stepper { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-strong); }
.token-stepper .btn { width: 52px; height: 52px; background: var(--blue-soft); color: var(--blue); }
.token-stepper .btn:hover { background: #d4f1fc; }
.token-input { border: 0; background: transparent; outline: none; text-align: center; font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; -moz-appearance: textfield; width: 100%; }
.token-input.is-invalid { color: var(--danger); }
.token-input::-webkit-outer-spin-button, .token-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.token-total { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 4px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.token-total span { color: var(--muted); font-size: 15px; }
.token-total strong { font-size: 32px; font-weight: 600; color: var(--blue); letter-spacing: -.03em; }
.token-hint { font-size: 13px; color: var(--faint); text-align: right; margin-top: -10px; min-height: 1em; }

.tiers { margin-top: 56px; }
.tiers-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 20px; }
.tiers-head h2 { font-size: 18px; letter-spacing: -.01em; }
.tiers-head p { color: var(--muted); font-size: 14.5px; }
.tier-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.tier { position: relative; overflow: hidden; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.tier--best::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-line); }
.tier-top { display: flex; align-items: center; justify-content: space-between; height: 24px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tier-off { padding: 0 10px; line-height: 24px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); letter-spacing: 0; }
.tier-price { display: block; margin-top: 8px; font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.tier small { display: block; font-size: 13px; color: var(--muted); }
.tier p { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 14.5px; color: var(--text); }
.tier-flag { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--green-ink); }

/* ---------- Price table ---------- */
.price-table { border-top: 1px solid var(--line-strong); }
.price-row { display: grid; grid-template-columns: 1fr 72px 168px; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.price-head { padding: 14px 0; font-size: 13px; color: var(--faint); }
.price-head span:not(:first-child) { text-align: right; }
.price-group { padding: 40px 0 12px; border-bottom: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.price-filter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.price-filter[hidden] { display: none; }
.is-filtered .price-group { display: none; }
.price-row strong { display: block; color: var(--ink); font-weight: 600; font-size: 17px; }
.price-row small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.price-tokens { text-align: right; font-size: 22px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.price-brl { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line-strong); padding: 26px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--muted); margin-top: 14px; max-width: 620px; }

/* ---------- Para você ---------- */
.app-preview {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf);
  box-shadow: 0 1px 2px rgba(15, 22, 38, .04), 0 32px 64px -28px rgba(0, 90, 130, .28);
}
.app-preview::before { content: ""; position: absolute; top: -1px; left: 72px; width: 64px; height: 3px; background: var(--brand-line); border-radius: 0 0 3px 3px; }
.app-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.app-avatar { width: 40px; height: 40px; border-radius: 14px 4px 14px 4px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.app-user { display: flex; flex-direction: column; line-height: 1.35; flex: 1; min-width: 0; }
.app-user strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.app-user span { color: var(--faint); font-size: 12.5px; }
.app-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #5a7a14; background: #f3f8e4; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.app-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.app-score { display: flex; align-items: center; gap: 24px; padding: 6px 0; }
.score-ring { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.score-track { stroke: var(--blue-soft); }
.score-value { stroke: var(--blue); }
.score-number { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.score-number strong { font-size: 32px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.score-number span { font-size: 12px; color: var(--faint); margin-top: 4px; }
.score-info { display: flex; flex-direction: column; gap: 2px; }
.score-label { font-size: 13px; color: var(--muted); }
.score-info strong { font-size: 24px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.score-trend { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #5a7a14; }
.score-trend svg { width: 15px; height: 15px; }

.app-debts { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); font-size: 14px; }
.app-debts span { color: var(--muted); }
.app-debts strong { color: var(--ink); font-weight: 600; }

.app-alerts { display: flex; flex-direction: column; }
.app-alerts-title { font-size: 12.5px; font-weight: 600; color: var(--faint); margin-bottom: 4px; }
.app-alert { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.app-alert:first-of-type { border-top: 0; }
.app-alert svg { width: 16px; height: 16px; color: var(--blue); }
.app-alert span { flex: 1; min-width: 0; }
.app-alert time { font-size: 12.5px; color: var(--faint); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.feature { padding: 32px 28px; border-radius: var(--leaf); background: var(--paper); transition: background .3s, transform .3s var(--ease); }
.feature:hover { background: var(--blue-soft); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px 4px 16px 4px; background: var(--white); color: var(--blue); transition: background .3s, color .3s; }
.feature:hover .feature-icon { background: var(--blue); color: #fff; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-top: 28px; }
.feature p { color: var(--muted); margin-top: 10px; font-size: 15px; }

.alerts-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 88px; align-items: center; }
.alerts-figure { border-radius: var(--leaf-lg); overflow: hidden; aspect-ratio: 4 / 4.6; }
.alerts-figure img { width: 100%; height: 100%; object-fit: cover; }
.alerts-lead { color: var(--muted); font-size: 16.5px; margin-top: 18px; max-width: 520px; }
.alert-list { list-style: none; padding: 0; margin: 40px 0 0; }
.alert-item { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.alert-item:last-child { border-bottom: 1px solid var(--line-strong); }
.alert-item > svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.alert-item div { display: flex; flex-direction: column; gap: 2px; }
.alert-item strong { color: var(--ink); font-weight: 600; font-size: 16px; }
.alert-item span { color: var(--muted); font-size: 15px; }

.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding: 64px 72px; border-radius: var(--leaf-lg); color: #c4cce0;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255, 255, 255, .14), transparent 60%),
    radial-gradient(500px 320px at 100% 100%, rgba(168, 207, 69, .28), transparent 60%),
    linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.cta-panel::after {
  content: ""; position: absolute; z-index: -1; right: 12%; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px;
  background: url("../img/simbolo.png") center / contain no-repeat;
  opacity: .12; filter: brightness(0) invert(1);
  pointer-events: none;
}
.cta-panel h2 { color: #fff; font-size: 36px; letter-spacing: -.035em; margin-top: 20px; max-width: 560px; }
.cta-panel p { color: rgba(255, 255, 255, .78); margin-top: 14px; max-width: 520px; }
.cta-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); padding: 6px 14px; border-radius: 999px; }
.cta-badge svg { width: 15px; height: 15px; color: var(--green-bright); }
.btn-light { background: #fff; color: var(--blue); flex-shrink: 0; }
.btn-light:hover { background: var(--blue-soft); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); flex-shrink: 0; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; flex-shrink: 0; }

/* ---------- Para empresas ---------- */
.biz-hero .hero-grid { align-items: center; }
.biz-hero-figure {
  margin: 0; border-radius: var(--leaf-lg); overflow: hidden; aspect-ratio: 5 / 5.4;
  box-shadow: 0 1px 2px rgba(15, 22, 38, .04), 0 32px 64px -28px rgba(0, 90, 130, .22);
}
.biz-hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-pillars { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.biz-pillars .feature { background: var(--white); border: 1px solid var(--line); }
.biz-pillars .feature:hover { background: var(--blue-soft); border-color: transparent; }
.section-tint .biz-pillars .feature { background: var(--white); }

/* ---------- Checagem (painel para você) ---------- */
.check-hero .hero-grid { align-items: center; }
.check-hero .hero-lead { max-width: 480px; }
.check-card {
  --level-color: var(--blue);
  position: relative; scroll-margin-top: 110px;
  padding: 8px; border-radius: calc(var(--leaf) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), #fff 40%),
    radial-gradient(120% 80% at 100% 0%, rgba(0, 175, 239, .12), transparent 50%),
    radial-gradient(90% 70% at 0% 100%, rgba(168, 207, 69, .12), transparent 46%);
  border: 1px solid rgba(231, 233, 238, .95);
  box-shadow: 0 1px 2px rgba(15, 22, 38, .04), 0 36px 70px -34px rgba(0, 90, 130, .34);
}
.check-card::before { content: ""; position: absolute; top: 7px; left: 80px; width: 64px; height: 3px; background: var(--brand-line); border-radius: 0 0 3px 3px; z-index: 2; }
.check-shell {
  position: relative; min-height: 480px;
  background: var(--white); border-radius: var(--leaf); overflow: hidden;
}
.check-phase {
  position: absolute; inset: 0; width: 100%;
  padding: 36px 36px 32px; box-sizing: border-box;
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none; visibility: hidden;
}
.check-phase.is-active {
  position: relative; inset: auto; min-height: 480px;
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
}
.check-phase.is-leaving {
  opacity: 0; transform: translateY(-10px) scale(.99); pointer-events: none; visibility: visible;
}
.check-phase[hidden] { display: block !important; }
.check-phase-head { max-width: 360px; }
.check-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue); font-size: 12.5px; font-weight: 600;
}
.check-badge svg { width: 15px; height: 15px; }
.check-card h2 { font-size: 26px; letter-spacing: -.03em; margin-top: 18px; line-height: 1.2; }
.check-sub { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.55; }
.check-form { display: flex; flex-direction: column; gap: 15px; margin-top: 28px; }
.check-input {
  display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 18px; background: var(--paper);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.check-input:focus-within { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 175, 239, .12); }
.check-input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217, 58, 58, .08); }
.check-input > svg { width: 20px; height: 20px; color: var(--faint); }
.check-input input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.check-input input::placeholder { color: var(--faint); font-weight: 400; letter-spacing: 0; }
.check-type:empty { display: none; }
.check-type { font-size: 11.5px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.check-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.check-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.check-error { font-size: 13.5px; color: var(--danger); margin-top: -4px; }
.check-trust {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 2px 0 0; font-size: 12.5px; color: var(--muted);
}
.check-trust svg { color: var(--green); }

.check-phase--center {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 12px;
}
.check-breathe {
  position: relative; width: 88px; height: 88px; display: grid; place-items: center; color: var(--blue); margin-bottom: 8px;
}
.check-breathe > span {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(0, 175, 239, .28);
  animation: checkPulse 2.2s var(--ease) infinite;
}
.check-breathe > span:nth-child(2) { animation-delay: .55s; }
.check-breathe > svg {
  width: 30px; height: 30px; z-index: 1;
  animation: checkFloat 2.4s ease-in-out infinite;
}
@keyframes checkPulse {
  0% { transform: scale(.72); opacity: .7; }
  70% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}
@keyframes checkFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.check-phase--center h2 { margin-top: 18px; font-size: 22px; }
.check-loading-text { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 260px; line-height: 1.5; }
.check-dots { display: flex; gap: 7px; margin-top: 22px; }
.check-dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .28;
  animation: checkDot 1.2s ease-in-out infinite;
}
.check-dots i:nth-child(2) { animation-delay: .15s; }
.check-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes checkDot {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.check-phase--result { display: flex; flex-direction: column; }
.check-result-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.check-result-label { display: block; font-size: 12px; color: var(--faint); margin-bottom: 2px; }
.check-result-doc strong { color: var(--ink); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.check-reset {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--paper);
  padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 12.5px; cursor: pointer;
  transition: color .2s, background .2s;
}
.check-reset svg { width: 14px; height: 14px; }
.check-reset:hover { color: var(--ink); background: var(--blue-soft); }
.check-score { margin: 22px 0; }
.check-score .score-value { stroke: var(--level-color); }
.check-score .score-info strong { color: var(--level-color); }
.score-scale { display: flex; gap: 4px; margin-top: 10px; }
.score-scale i { width: 26px; height: 5px; border-radius: 3px; background: var(--line); }

.check-reveal {
  position: relative; flex: 1; min-height: 340px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background:
    radial-gradient(120% 80% at 0% 0%, rgba(0, 175, 239, .08), transparent 55%),
    radial-gradient(100% 70% at 100% 100%, rgba(168, 207, 69, .10), transparent 50%),
    var(--paper);
}
.check-reveal-scene {
  padding: 22px 22px 132px; pointer-events: none; user-select: none;
  filter: blur(0) saturate(1); opacity: 1; transform: scale(1);
  transition: filter 1.15s cubic-bezier(.22, .8, .24, 1), opacity 1.15s ease, transform 1.25s cubic-bezier(.22, .8, .24, 1);
}
.check-reveal.is-soft .check-reveal-scene {
  filter: blur(7px) saturate(.88); opacity: .48; transform: scale(1.025);
}
.check-reveal-scene .check-score { margin: 0 0 18px; }
.check-reveal-scene .score-info strong { font-size: 18px; color: var(--ink); }
.check-reveal-scene .score-scale i:nth-child(-n+3) { background: var(--blue); }
.check-teaser-rows { display: grid; gap: 10px; }
.check-teaser-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(231, 233, 238, .9);
}
.check-teaser-row span:first-child {
  height: 11px; width: 42%; border-radius: 999px;
  background: linear-gradient(90deg, #d9dee8, #eef1f6 55%, #d9dee8);
  background-size: 200% 100%; animation: checkShimmer 2.4s linear infinite;
}
.check-teaser-row span:last-child {
  height: 11px; width: 22%; border-radius: 999px;
  background: linear-gradient(90deg, #cfeffb, #e5f7fd 55%, #cfeffb);
  background-size: 200% 100%; animation: checkShimmer 2.4s linear infinite .2s;
}
.check-teaser-row:nth-child(2) span:first-child { width: 58%; }
.check-teaser-row:nth-child(3) span:first-child { width: 35%; }
@keyframes checkShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.check-reveal-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .55) 38%, rgba(255, 255, 255, .92) 68%, #fff 100%);
  transition: opacity 1s cubic-bezier(.22, .8, .24, 1);
}
.check-reveal.is-soft .check-reveal-veil { opacity: 1; }

.check-invite {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 22px 20px 18px; text-align: center;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(231, 233, 238, .95);
  border-radius: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -28px rgba(15, 22, 38, .35);
  opacity: 0; transform: translateY(28px); pointer-events: none;
  transition: opacity .7s cubic-bezier(.22, .8, .24, 1), transform .75s cubic-bezier(.22, .8, .24, 1);
}
.check-reveal.is-invite .check-invite {
  opacity: 1; transform: none; pointer-events: auto;
}
.check-invite-kicker {
  align-self: center; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.check-invite h3 {
  font-size: 18.5px; letter-spacing: -.025em; line-height: 1.25; margin: 0; color: var(--ink);
}
.check-invite > p {
  margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted);
}
.check-invite .btn { margin-top: 16px; }
.check-teaser-note {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin: 12px 0 0; font-size: 12.5px; color: var(--muted);
}
.check-teaser-note svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }

@media (max-width: 520px) {
  .check-shell, .check-phase.is-active { min-height: 0; }
  .check-phase { padding: 28px 22px 24px; }
  .check-card h2 { font-size: 23px; }
  .check-reveal { min-height: 360px; }
  .check-invite { left: 12px; right: 12px; bottom: 12px; padding: 18px 16px 16px; }
  .check-invite h3 { font-size: 17px; }
}

.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.cta-section + .section { padding-top: 0; }

/* ---------- Portal do consumidor (acesso) ---------- */
.auth-body { background: var(--white); }
.auth {
  display: grid; grid-template-columns: minmax(360px, 440px) minmax(0, 1fr); min-height: 100vh;
}
.auth-main {
  display: flex; flex-direction: column; min-width: 0; min-height: 100vh;
  padding: 28px 40px 32px; background: var(--white); z-index: 1;
}
.auth-top {
  width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
}
.auth-back {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  color: var(--ink); transition: background .2s;
}
.auth-back svg { width: 20px; height: 20px; }
.auth-back:hover { background: var(--paper); }
.auth-brand img { height: 40px; width: auto; max-width: none; }
.auth-top-spacer { display: block; height: 8px; }
.auth-progress { display: flex; align-items: center; gap: 12px; justify-content: center; min-width: 0; }
.auth-progress-track { display: flex; gap: 6px; flex: 1; max-width: 168px; }
.auth-progress-track span {
  flex: 1; height: 4px; border-radius: 999px; background: #e8ebf0;
}
.auth-progress-track span.is-on { background: var(--blue); }
.auth-progress-count { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }

.auth-panel {
  width: 100%; max-width: 420px; margin: 36px auto auto; padding-bottom: 8px;
}
.auth-eyebrow {
  display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 10px;
}
.auth-title { font-size: 26px; letter-spacing: -.03em; line-height: 1.22; }
.auth-sub { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.55; }
.auth-form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.auth-form--challenge { gap: 16px; }
.auth-mode.auth-form { margin-top: 0; }
.auth-mode .auth-title + .field, .auth-mode .auth-title + input + .field { margin-top: 6px; }

.auth-quiz {
  border: 0; margin: 0; padding: 0; display: grid; gap: 10px;
}
.auth-quiz-option {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line-strong); border-radius: 16px; background: var(--white);
  cursor: pointer; user-select: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.auth-quiz-option:hover { border-color: var(--blue); background: #f7fcfe; }
.auth-quiz-option:has(input:checked) {
  border-color: var(--blue); background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(0, 175, 239, .12);
}
.auth-quiz-option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.auth-quiz-radio {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid #c9ced8; display: grid; place-items: center; transition: border-color .2s, box-shadow .2s;
}
.auth-quiz-radio::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue);
  transform: scale(0); transition: transform .18s var(--ease);
}
.auth-quiz-option:hover .auth-quiz-radio { border-color: var(--blue); }
.auth-quiz-option input:checked + .auth-quiz-radio { border-color: var(--blue); }
.auth-quiz-option input:checked + .auth-quiz-radio::after { transform: scale(1); }
.auth-quiz-option input:focus-visible + .auth-quiz-radio { outline: 2px solid var(--blue); outline-offset: 3px; }
.auth-quiz-label { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }

.auth-section-title {
  margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em;
}
.auth-policy {
  display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--text); cursor: pointer;
}
.auth-policy input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.auth-policy a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth-cpf-note { margin: 0; font-size: 13px; color: var(--muted); }
.auth-cpf-note a { font-weight: 600; color: var(--blue); }
.btn-pill { border-radius: 999px; min-height: 54px; }
.btn-pill:disabled, .btn-pill[disabled] {
  background: #d8dde6; color: #fff; box-shadow: none; cursor: not-allowed; opacity: 1;
}

.auth-visual {
  position: sticky; top: 0; height: 100vh; min-height: 100vh;
  overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 44px 48px; color: #fff;
  background: #152430;
}
.auth-visual-frame {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.auth-visual-media {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
}
.auth-visual-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8, 18, 28, .9) 0%, rgba(8, 18, 28, .55) 28%, rgba(8, 18, 28, .14) 52%, transparent 68%);
}
.auth-visual-edge {
  position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--blue) 0 62%, var(--green-bright) 62% 100%);
  pointer-events: none;
}
.auth-visual-footer {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  width: 100%;
}
.auth-visual-logo {
  height: 72px; width: auto; max-width: none; display: block; align-self: flex-end;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4));
}
.auth-visual-copy {
  max-width: 440px;
}
.auth-visual-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: #d7ef7a; letter-spacing: .01em;
  margin-bottom: 14px;
}
.auth-visual-kicker::before {
  content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--brand-line);
}
.auth-visual-copy h2 {
  color: #fff; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.04em; margin: 0;
  text-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}
.auth-visual-copy p {
  margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 380px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}

/* legado: etapas antigas ainda usadas em páginas sem o novo progresso */
.auth-steps { list-style: none; padding: 0; margin: 0 0 32px; display: flex; align-items: center; gap: 8px; }
.auth-steps li { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 12.5px; font-weight: 500; color: var(--faint); white-space: nowrap; }
.auth-steps li::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); min-width: 12px; }
.auth-steps li:last-child { flex: 0; }
.auth-steps li:last-child::after { display: none; }
.auth-steps li span { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: 11.5px; font-weight: 600; }
.auth-steps li.is-current { color: var(--ink); }
.auth-steps li.is-current span { border-color: var(--blue); background: var(--blue); color: #fff; }
.auth-steps li.is-done { color: var(--muted); }
.auth-steps li.is-done span { border-color: var(--green); background: var(--green); color: #fff; font-size: 0; }
.auth-steps li.is-done span::before { content: ""; width: 10px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.auth-steps li.is-done::after { background: var(--green); }

.auth-input {
  display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.auth-input--lg {
  height: 64px; border-radius: 18px; background: var(--paper); padding: 0 18px;
}
.auth-input--lg:focus-within { background: var(--white); }
.auth-input--lg input { font-size: 18px; font-weight: 500; }
.field-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.auth-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 175, 239, .10); }
.auth-input > svg { width: 18px; height: 18px; color: var(--faint); }
.auth-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--ink); }
.auth-input input::placeholder { color: var(--faint); }
.auth-input.is-locked { background: var(--paper); }
.auth-input.is-locked input { color: var(--muted); }
.auth-input-action { font-size: 13.5px; font-weight: 600; color: var(--blue); }
.auth-eye { width: 34px; height: 34px; margin-right: -6px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--faint); cursor: pointer; }
.auth-eye:hover { color: var(--ink); background: var(--paper); }
.auth-eye.is-visible { color: var(--blue); }

.auth-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.auth-switch, .auth-check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; user-select: none; }
.auth-switch input { position: absolute; opacity: 0; pointer-events: none; }
.auth-switch-track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--line-strong); transition: background .2s; }
.auth-switch-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 22, 38, .2); transition: transform .2s var(--ease); }
.auth-switch input:checked + .auth-switch-track { background: var(--blue); }
.auth-switch input:checked + .auth-switch-track::after { transform: translateX(16px); }
.auth-switch input:focus-visible + .auth-switch-track { outline: 2px solid var(--blue); outline-offset: 2px; }
.auth-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); cursor: pointer; }

.auth-note { position: relative; margin-top: 24px; padding-left: 23px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.auth-note svg { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; color: var(--faint); }
.auth-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

.auth-alert { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.auth-alert svg { width: 18px; height: 18px; margin-top: 1px; }
.auth-alert--error { background: #fdeeee; color: #a12a2a; }
.auth-alert--success { background: #f3f8e4; color: #5a7a14; }
.auth-alert--info { background: var(--blue-soft); color: var(--blue-deep); }
.auth-user + .auth-alert { margin: 0 0 20px; }

.auth-user { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 28px; border-radius: var(--radius); background: var(--paper); }
.auth-avatar { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px 4px 14px 4px; background: var(--blue); color: #fff; font-weight: 600; }
.auth-user div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.auth-user strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.auth-user div span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.auth-user a { margin-left: auto; font-size: 13.5px; font-weight: 600; }

.auth-modes[data-mode="escolha"] > .auth-mode[data-mode="senha"],
.auth-modes[data-mode="senha"] > .auth-mode[data-mode="escolha"] { display: none; }
.auth-choices { display: grid; gap: 12px; margin-top: 22px; }
.auth-choice {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; text-align: left; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 18px; background: var(--white); color: inherit; font: inherit;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.auth-choice:hover { border-color: var(--blue); background: #f7faff; }
.auth-choice-icon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 15px 4px 15px 4px; background: var(--blue-soft); color: var(--blue); transition: background .2s, color .2s; }
.auth-choice:hover .auth-choice-icon { background: var(--blue); color: #fff; }
.auth-choice-icon svg { width: 21px; height: 21px; }
.auth-choice-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.auth-choice-text strong { color: var(--ink); font-size: 15.5px; font-weight: 600; }
.auth-choice-text span { color: var(--muted); font-size: 13.5px; }
.auth-choice-arrow { color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.auth-choice:hover .auth-choice-arrow { color: var(--blue); transform: translateX(3px); }

.auth-link-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: center; border: 0; background: none; padding: 4px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-link-button svg { width: 16px; height: 16px; }
.auth-link-button:hover { color: var(--blue); }

.auth-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 17px 5px 17px 5px; background: var(--blue-soft); color: var(--blue); }
.auth-icon svg { width: 24px; height: 24px; }
.auth-code {
  width: 100%; height: 70px; padding: 0 0 0 .55em; text-align: center; outline: none;
  font-size: 30px; font-weight: 600; letter-spacing: .55em; color: var(--ink); font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-strong); border-radius: 18px; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.auth-code::placeholder { color: var(--line-strong); }
.auth-code:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 175, 239, .10); }

.auth-rules { list-style: none; padding: 0; margin: -4px 0 0; display: grid; gap: 8px; }
.auth-rules li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); transition: color .2s; }
.auth-rules li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); box-sizing: border-box; flex-shrink: 0; transition: .2s; }
.auth-rules li.is-ok { color: #5a7a14; }
.auth-rules li.is-ok::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.auth-rules.is-shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.btn { position: relative; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading svg { opacity: 0; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }

.auth-footer { margin-top: 24px; font-size: 14.5px; color: var(--muted); text-align: center; }
.auth-footer a { font-weight: 600; }
.auth-legal { margin-top: 28px; font-size: 12.5px; color: var(--faint); text-align: center; }
.auth-legal a { color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}
@media (max-width: 560px) {
  .auth-main { padding: 18px 20px 28px; }
  .auth-panel { margin-top: 28px; }
  .auth-title { font-size: 22px; }
  .auth-progress-track { max-width: 120px; }
}

/* ---------- Painel do consumidor ---------- */
.dash-body {
  min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(0, 175, 239, .09), transparent 60%),
    radial-gradient(700px 360px at 100% -5%, rgba(168, 207, 69, .09), transparent 60%),
    var(--paper);
}
.dash-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.dash-header-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.dash-nav { display: flex; gap: 4px; margin-right: auto; }
.dash-nav a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.dash-nav a:hover { color: var(--ink); }
.dash-nav a.is-active { color: var(--ink); background: var(--paper); }

.dash-user { position: relative; }
.dash-user-btn { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; transition: border-color .2s; }
.dash-user-btn:hover, .dash-user.is-open .dash-user-btn { border-color: var(--line-strong); }
.dash-user-hello { font-size: 14px; font-weight: 500; color: var(--ink); }
.dash-user-btn .auth-avatar { width: 34px; height: 34px; font-size: 12.5px; border-radius: 12px 4px 12px 4px; }
.dash-user-btn > svg { width: 16px; height: 16px; color: var(--faint); margin-right: 4px; transition: transform .2s var(--ease); }
.dash-user.is-open .dash-user-btn > svg { transform: rotate(180deg); }
.dash-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 320px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 48px -20px rgba(0, 90, 130, .3); animation: dash-pop .18s var(--ease);
}
@keyframes dash-pop { from { opacity: 0; transform: translateY(-6px); } }
.dash-menu-profile { display: flex; align-items: center; gap: 12px; padding: 12px; }
.dash-menu-profile div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.dash-menu-profile strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.dash-menu-profile span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.dash-menu-section { margin: 4px 0; padding: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dash-menu-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.dash-menu-contact { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.dash-menu-contact svg { width: 17px; height: 17px; margin-top: 2px; }
.dash-menu-contact strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.dash-menu-contact.is-ok svg { color: var(--green); }
.dash-menu-contact.is-warn svg { color: #d97706; }
.dash-menu-links { display: grid; gap: 2px; padding-top: 4px; }
.dash-menu-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text); }
.dash-menu-links a:hover { background: var(--paper); color: var(--ink); }
.dash-menu-links a svg { width: 17px; height: 17px; color: var(--faint); }
.dash-menu-links a.is-danger:hover, .dash-menu-links a.is-danger:hover svg { color: var(--danger); }

.dash-demo { background: var(--blue-soft); color: var(--blue-deep); font-size: 13px; font-weight: 500; }
.dash-demo .in { display: flex; align-items: center; gap: 8px; padding-block: 8px; }
.dash-demo svg { width: 15px; height: 15px; }

.dash-main { flex: 1; width: 100%; padding-block: 40px 64px; }
.dash-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dash-welcome h1 { font-size: 36px; letter-spacing: -.035em; margin-top: 12px; }
.dash-welcome p { margin-top: 8px; color: var(--muted); font-size: 16px; max-width: 620px; }
.dash-updated { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 13px; color: var(--faint); }
.dash-updated svg { width: 14px; height: 14px; }

.dash-status, .dash-error { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 14px 18px; border-radius: var(--radius); background: #f3f8e4; }
.dash-status[hidden], .dash-error[hidden] { display: none; }
.dash-status-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px 4px 12px 4px; background: var(--white); color: #6b8f1a; }
.dash-status div, .dash-error div { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.dash-status strong, .dash-error strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.dash-status span, .dash-error span { color: var(--text); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.dash-status[data-kind="down"] { background: #fff5e6; }
.dash-status[data-kind="down"] .dash-status-icon { color: #d97706; }
.dash-status[data-kind="same"] { background: var(--blue-soft); }
.dash-status[data-kind="same"] .dash-status-icon { color: var(--blue); }
.dash-error { background: #fdeeee; }
.dash-error > svg { width: 22px; height: 22px; color: var(--danger); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.dash-col, .dash-side { display: grid; gap: 24px; min-width: 0; }
.dash-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

.dash-card { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 28px 8px 28px 8px; box-shadow: var(--shadow-soft); min-width: 0; }
.dash-card h2 { font-size: 18px; letter-spacing: -.02em; }
.dash-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dash-card-head > div { flex: 1; min-width: 0; }
.dash-card-head p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.dash-card-head .auth-icon { width: 44px; height: 44px; margin: 0; border-radius: 15px 4px 15px 4px; }
.dash-card-head .auth-icon svg { width: 21px; height: 21px; }
.dash-count { flex-shrink: 0; padding: 4px 12px; border-radius: 999px; background: #fff5e6; color: #b45309; font-size: 12.5px; font-weight: 600; }

.dash-score {
  --level-color: #7fb2ff; overflow: hidden; isolation: isolate; padding: 36px; border: 0; border-radius: var(--leaf); color: #b5bfd5;
  background:
    radial-gradient(560px 380px at 0% 0%, rgba(0, 175, 239, .55), transparent 62%),
    radial-gradient(440px 340px at 100% 100%, rgba(168, 207, 69, .2), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, #0b3aa0 100%);
  box-shadow: 0 32px 64px -32px rgba(0, 90, 130, .6);
}
.dash-score::before { content: ""; position: absolute; top: 0; left: 72px; width: 64px; height: 3px; background: var(--brand-line); border-radius: 0 0 3px 3px; }
.dash-score[data-level="1"] { --level-color: #ff8a8f; }
.dash-score[data-level="2"] { --level-color: #fcc35b; }
.dash-score[data-level="3"] { --level-color: #7fb2ff; }
.dash-score[data-level="4"] { --level-color: var(--green-bright); }
/* Marca decorativa do card de score (e monitor). Precisa do container para --u / cqw. */
.auth-symbol {
  position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 380px; aspect-ratio: 1;
  container-type: inline-size; pointer-events: none;
}
.auth-symbol .sym { --u: calc(100cqw / 1024); background: rgba(255, 255, 255, .07); }
.auth-symbol .sym-top { height: calc(var(--u) * 476); }
.auth-symbol .sym-green { height: calc(var(--u) * 476); background: rgba(168, 207, 69, .28); }
.auth-symbol .sym-link { top: calc(var(--u) * 476 - 1px); }
.auth-symbol .sym-tail { top: calc(var(--u) * 548); }
.auth-symbol .sym-green--low { top: calc(var(--u) * 548); height: calc(var(--u) * 187); }
.auth-symbol .sym-block {
  left: calc(var(--u) * 476); top: 0; width: calc(var(--u) * 548); height: calc(var(--u) * 735);
  border-bottom-right-radius: calc(var(--u) * 289);
}
.dash-symbol { right: -120px; top: -150px; bottom: auto; width: 380px; opacity: .55; }
.dash-score-main { display: flex; align-items: center; gap: 44px; }

.score-arc { --p: 0; --w: 14px; position: relative; width: 188px; aspect-ratio: 1; flex-shrink: 0; }
.score-arc-track, .score-arc-fill {
  position: absolute; inset: 0; border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--w) - .5px), #000 calc(100% - var(--w)));
          mask: radial-gradient(farthest-side, transparent calc(100% - var(--w) - .5px), #000 calc(100% - var(--w)));
}
.score-arc-track { background: rgba(255, 255, 255, .08); }
.score-arc-fill { background: conic-gradient(var(--blue) 0%, #2b8cff calc(var(--p) * .4%), #12c9b4 calc(var(--p) * .78%), var(--green-bright) calc(var(--p) * 1%), transparent calc(var(--p) * 1%)); }
.score-arc-start, .score-arc-tip::after { content: ""; position: absolute; top: 0; left: 50%; width: var(--w); height: var(--w); margin-left: calc(var(--w) / -2); border-radius: 50%; }
.score-arc-start { background: var(--blue); }
.score-arc-tip { position: absolute; inset: 0; transform: rotate(calc(var(--p) * 3.6deg)); }
.score-arc-tip::after { background: var(--green-bright); box-shadow: 0 0 0 4px rgba(168, 207, 69, .2), 0 0 18px rgba(168, 207, 69, .85); animation: arc-glow 2.6s ease-in-out infinite; }
@keyframes arc-glow { 50% { box-shadow: 0 0 0 8px rgba(168, 207, 69, .1), 0 0 28px rgba(168, 207, 69, 1); } }
.dash-score .score-number strong { color: #fff; font-size: 48px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dash-score .score-number span { color: #8e9ab5; font-size: 13px; }
.dash-score.is-loading .score-arc { animation: dash-pulse 1.4s ease-in-out infinite; }
@keyframes dash-pulse { 50% { opacity: .45; } }

.dash-score-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dash-score-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green-bright); }
.dash-score-label svg { width: 15px; height: 15px; }
.dash-score-info > strong { margin-top: 6px; font-size: 36px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--level-color); transition: color .4s; }
.dash-score-info p { margin-top: 10px; font-size: 15px; color: #b5bfd5; max-width: 460px; }

.dash-meter { margin-top: 24px; max-width: 460px; }
.dash-meter-bar { position: relative; display: flex; gap: 4px; height: 8px; }
.dash-meter-bar span { flex: var(--w); border-radius: 999px; background: rgba(255, 255, 255, .1); transition: background .4s; }
.dash-score[data-level="1"] .dash-meter-bar span:nth-child(1),
.dash-score[data-level="2"] .dash-meter-bar span:nth-child(2),
.dash-score[data-level="3"] .dash-meter-bar span:nth-child(3),
.dash-score[data-level="4"] .dash-meter-bar span:nth-child(4) { background: var(--level-color); }
.dash-meter-bar i { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 4px solid var(--level-color); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 4px 12px rgba(0, 0, 0, .35); transition: border-color .4s; }
.dash-meter-labels { display: flex; gap: 4px; margin-top: 10px; }
.dash-meter-labels span { flex: var(--w); font-size: 12px; color: #7d89a6; transition: color .4s; }
.dash-meter-labels span.is-active { color: #fff; font-weight: 600; }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 0; }
.dash-stats div { padding: 16px 18px; border-radius: 18px 6px 18px 6px; background: rgba(13, 29, 63, .55); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(6px); transition: background .25s, transform .25s var(--ease); }
.dash-stats div:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.dash-stats dt { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #b5bfd5; }
.dash-stat-icon { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px 3px 10px 3px; background: rgba(168, 207, 69, .12); color: var(--green-bright); }
.dash-stat-icon svg { width: 16px; height: 16px; }
.dash-stats dd { margin: 12px 0 0; font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash-item { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, background .2s; }
.dash-item:hover { border-color: var(--line-strong); background: #fbfcfd; }
.dash-list--compact { gap: 0; }
.dash-list--compact .dash-item { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.dash-list--compact .dash-item:last-child { border-bottom: 0; }
.dash-list--compact .dash-item:hover { background: none; }
.dash-item-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px 4px 13px 4px; background: var(--blue-soft); color: var(--blue); }
.dash-item-icon svg { width: 18px; height: 18px; }
.dash-item-icon--warn { background: #fff5e6; color: #d97706; }
.dash-item-icon--danger { background: #fdeeee; color: var(--danger); }
.dash-item-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dash-item-main strong { color: var(--ink); font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dash-item-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.dash-item-meta--stack { flex-direction: column; align-items: flex-start; gap: 0; }
.dash-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; text-align: right; }
.dash-item-side strong { color: var(--ink); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dash-item-date { gap: 0; }
.dash-item-date strong { font-size: 14px; font-weight: 500; }
.dash-item-date span { font-size: 12.5px; color: var(--faint); }
.dash-item--debt { flex-wrap: wrap; }
.dash-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0;
  border: 0; background: none; color: var(--blue); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.dash-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dash-more.is-open svg { transform: rotate(180deg); }
.dash-more:hover { color: var(--blue-deep); }
.dash-item-details {
  flex-basis: 100%; margin-top: 4px; padding: 14px 16px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
}
.dash-debt-facts {
  margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px;
}
.dash-debt-facts div { min-width: 0; }
.dash-debt-facts dt { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.dash-debt-facts dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); word-break: break-word; }
.dash-debt-hint { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.dash-item-contact { flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 2px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.dash-item-contact-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.dash-item-contact-label svg { width: 16px; height: 16px; color: var(--blue); }
.dash-item-contact-empty { font-size: 13px; color: var(--faint); }
.dash-contact-list { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-contact {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 600;
  transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease);
}
.dash-contact svg { width: 16px; height: 16px; color: var(--blue); transition: color .2s; }
.dash-contact:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); transform: translateY(-1px); }
.dash-contact--whatsapp { border-color: transparent; background: #25d366; color: #fff; box-shadow: 0 8px 18px -10px rgba(37, 211, 102, .9); }
.dash-contact--whatsapp svg { color: #fff; }
.dash-contact--whatsapp:hover { border-color: transparent; background: #1ebe5b; color: #fff; }
.dash-pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dash-pill--warn { background: #fff5e6; color: #b45309; }
.dash-pill--danger { background: #fdeeee; color: #b42323; }
.dash-list-note { display: flex; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper); font-size: 13.5px; line-height: 1.55; color: var(--text); }
.dash-list-note svg { width: 16px; height: 16px; margin-top: 2px; color: var(--blue); }
.dash-list-more { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center; }

.dash-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 12px; }
.dash-empty span { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 17px 5px 17px 5px; background: var(--blue-soft); color: var(--blue); }
.dash-empty span svg { width: 24px; height: 24px; }
.dash-empty strong { color: var(--ink); font-size: 16px; font-weight: 600; }
.dash-empty p { margin-top: 4px; font-size: 14px; color: var(--muted); max-width: 300px; }
.dash-empty--ok span { background: #f3f8e4; color: #6b8f1a; }

.dash-skeleton { display: grid; gap: 10px; }
.dash-skeleton i { display: block; height: 72px; border-radius: 18px; background: linear-gradient(90deg, var(--paper) 25%, #eef0f3 50%, var(--paper) 75%) 0 0 / 200% 100%; animation: dash-shimmer 1.3s linear infinite; }
@keyframes dash-shimmer { to { background-position: -200% 0; } }


.dash-tips ol { list-style: none; counter-reset: tip; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.dash-tips li { counter-increment: tip; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.dash-tips li::before { content: counter(tip); width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 12.5px; font-weight: 600; }

.dash-back { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.dash-back svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dash-back:hover { color: var(--ink); }
.dash-back:hover svg { transform: translateX(-3px); }
.dash-main > .auth-alert { margin: 0 0 24px; animation: dash-slide .6s var(--ease) both; }
.dash-pill--ok { background: #f3f8e4; color: #5a7a14; }
.dash-pill--muted { background: var(--paper); color: var(--muted); }
.dash-pill i { width: 6px; height: 6px; margin-right: 6px; align-self: center; border-radius: 50%; background: currentColor; }
.dash-pill--ok i { background: var(--green); box-shadow: 0 0 0 3px rgba(0, 196, 138, .18); animation: mon-blink 2s ease-in-out infinite; }
@keyframes mon-blink { 50% { box-shadow: 0 0 0 6px rgba(0, 196, 138, 0); } }

/* Resumo do monitor no painel */
.mon-summary-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--radius); background: var(--paper); font-size: 13px; color: var(--muted); }
.mon-summary-channels { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.mon-summary-channels li { display: flex; align-items: center; gap: 12px; }
.mon-summary-channels div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.mon-summary-channels strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.mon-summary-channels span:not(.mon-channel-icon) { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.mon-summary-empty { display: flex; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: #b45309; }
.mon-summary-empty svg { width: 16px; height: 16px; margin-top: 2px; }
.mon-summary.is-paused .mon-summary-channels { opacity: .5; }

/* Página do monitor */
.mon-master { display: flex; align-items: center; gap: 22px; overflow: hidden; isolation: isolate; padding: 32px; border: 0; border-radius: var(--leaf); color: #b5bfd5; transition: filter .4s;
  background:
    radial-gradient(520px 340px at 0% 0%, rgba(0, 175, 239, .55), transparent 62%),
    radial-gradient(420px 320px at 100% 100%, rgba(168, 207, 69, .2), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, #0b3aa0 100%);
  box-shadow: 0 32px 64px -32px rgba(0, 90, 130, .6);
}
.mon-master::before { content: ""; position: absolute; top: 0; left: 72px; width: 64px; height: 3px; background: var(--brand-line); border-radius: 0 0 3px 3px; }
.mon-master-icon { position: relative; width: 60px; height: 60px; flex-shrink: 0; display: grid; place-items: center; border-radius: 20px 6px 20px 6px; background: rgba(168, 207, 69, .14); color: var(--green-bright); }
.mon-master-icon svg { width: 26px; height: 26px; transform-origin: 50% 10%; animation: mon-ring 3.2s ease-in-out infinite; }
@keyframes mon-ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 86% { transform: rotate(8deg); } 92% { transform: rotate(-4deg); } }
.mon-master-text { flex: 1; min-width: 0; }
.mon-master-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green-bright); }
.mon-master-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(168, 207, 69, .2); animation: mon-blink 2s ease-in-out infinite; }
.mon-master h2 { margin-top: 8px; color: #fff; font-size: 24px; letter-spacing: -.03em; }
.mon-master p { margin-top: 4px; font-size: 14.5px; }
.mon-toggle { position: relative; flex-shrink: 0; cursor: pointer; }
.mon-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.mon-toggle-track { display: block; position: relative; width: 64px; height: 36px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .3s; }
.mon-toggle-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: transform .35s var(--ease); }
.mon-toggle input:checked + .mon-toggle-track { background: var(--green); }
.mon-toggle input:checked + .mon-toggle-track::after { transform: translateX(28px); }
.mon-toggle input:focus-visible + .mon-toggle-track { outline: 2px solid #fff; outline-offset: 3px; }
.mon-form.is-paused .mon-master { filter: saturate(.35); }
.mon-form.is-paused .mon-master-status { color: #c4cce0; }
.mon-form.is-paused .mon-master-status i, .mon-form.is-paused .mon-master-icon svg { animation: none; }
.mon-form.is-paused .mon-master-icon { background: rgba(255, 255, 255, .08); color: #c4cce0; }
.mon-section { transition: opacity .35s; }
.mon-form.is-paused .mon-section { opacity: .55; }

.mon-error { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--danger); }
.mon-error svg { width: 15px; height: 15px; }
.mon-section .dash-card-head + .mon-error { margin: -8px 0 14px; }

.mon-channels { display: grid; gap: 12px; }
.mon-channel { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, background .25s, box-shadow .25s; }
.mon-channel.is-on { border-color: rgba(0, 175, 239, .35); background: #f7fcfe; box-shadow: 0 10px 24px -18px rgba(0, 175, 239, .5); }
.mon-channel.has-error { border-color: var(--danger); background: #fffafa; }
.mon-channel-head { display: flex; align-items: center; gap: 14px; }
.mon-channel-head > div { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.mon-channel-head strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.mon-channel-head span { color: var(--muted); font-size: 13px; }
.mon-channel-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px 4px 13px 4px; background: var(--blue-soft); color: var(--blue); }
.mon-channel-icon svg { width: 18px; height: 18px; }
.mon-channel-icon--whatsapp { background: #e6f9ee; color: #1ebe5b; }
.mon-channel-field { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, margin .4s var(--ease); }
.mon-channel.is-on .mon-channel-field { max-height: 140px; opacity: 1; margin-top: 14px; }
.mon-channel-field .auth-input { height: 48px; background: var(--white); }

.mon-alerts { list-style: none; margin: 0; padding: 0; display: grid; }
.mon-alerts li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.mon-alerts li:first-child { border-top: 0; padding-top: 4px; }
.mon-alerts .auth-switch { margin-top: 8px; flex-shrink: 0; }
.mon-alert-icon { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px 4px 12px 4px; background: var(--paper); color: var(--text); transition: background .25s, color .25s; }
.mon-alert-icon svg { width: 17px; height: 17px; }
.mon-alerts li:has(input:checked) .mon-alert-icon { background: var(--blue-soft); color: var(--blue); }
.mon-alert-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.mon-alert-text strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.mon-alert-text > span { color: var(--muted); font-size: 13.5px; }
.mon-select { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.mon-select select { height: 34px; padding: 0 32px 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat; color: var(--ink); font-size: 13.5px; font-weight: 500; appearance: none; cursor: pointer; }
.mon-select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 175, 239, .12); }

.mon-actions {
  position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 22px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -20px rgba(0, 90, 130, .35); transition: border-color .3s, box-shadow .3s;
}
.mon-actions-text { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.mon-actions-text svg { width: 16px; height: 16px; color: var(--green); }
.mon-actions.is-dirty { border-color: rgba(0, 175, 239, .4); box-shadow: 0 18px 40px -16px rgba(0, 175, 239, .45); }
.mon-actions.is-dirty .mon-actions-text { color: var(--ink); font-weight: 500; }
.mon-actions.is-dirty .mon-actions-text svg { color: var(--blue); }
.mon-actions .btn.is-loading::after { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }

.mon-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
.mon-history::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.mon-history li { position: relative; display: flex; gap: 14px; animation: dash-rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
.mon-history-icon { position: relative; width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--white); background: var(--blue-soft); color: var(--blue); }
.mon-history-icon svg { width: 15px; height: 15px; }
.mon-history-icon--ok { background: #f3f8e4; color: #6b8f1a; }
.mon-history-icon--warn { background: #fff5e6; color: #d97706; }
.mon-history div { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-top: 2px; }
.mon-history strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.mon-history span { color: var(--text); font-size: 13px; }
.mon-history small { color: var(--faint); font-size: 12px; margin-top: 2px; }
.mon-privacy { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.mon-privacy svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--green); }
.mon-privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

@media (max-width: 560px) {
  .mon-master { flex-wrap: wrap; justify-content: space-between; padding: 26px 22px; gap: 18px; }
  .mon-master-text { order: 3; flex-basis: 100%; }
  .mon-master h2 { font-size: 20px; }
  .mon-actions { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 14px; text-align: center; }
  .mon-actions-text { justify-content: center; }
  .mon-actions .btn { width: 100%; }
}

.dash-footer { border-top: 1px solid var(--line); background: var(--white); font-size: 13px; color: var(--faint); }
.dash-footer .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.dash-footer a { color: var(--muted); }
.dash-footer-group { display: inline-flex; align-items: center; gap: 10px; }
.dash-footer-group img { height: 20px; width: auto; opacity: .7; transition: opacity .2s; }
.dash-footer-group:hover img { opacity: 1; }

@keyframes dash-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes dash-slide { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.dash-welcome, .dash-col > *, .dash-side > * { animation: dash-rise .8s var(--ease) both; }
.dash-col > :nth-child(1) { animation-delay: .08s; }
.dash-col > :nth-child(2) { animation-delay: .18s; }
.dash-col > :nth-child(3) { animation-delay: .28s; }
.dash-side > :nth-child(1) { animation-delay: .14s; }
.dash-side > :nth-child(2) { animation-delay: .24s; }
.dash-side > :nth-child(3) { animation-delay: .34s; }
.dash-status { animation: dash-slide .6s var(--ease) both; }
.dash-item { animation: dash-rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
.dash-empty { animation: dash-rise .6s var(--ease) both; }
.dash-card { transition: box-shadow .3s var(--ease); }
.dash-card:not(.dash-score):hover { box-shadow: 0 1px 2px rgba(15, 22, 38, .04), 0 28px 56px -28px rgba(0, 90, 130, .22); }
.dash-item-icon { transition: transform .3s var(--ease); }
.dash-item:hover .dash-item-icon { transform: scale(1.08) rotate(-4deg); }
.dash-tips li::before { transition: background .25s, color .25s; }
.dash-tips li:hover::before { background: var(--blue); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .dash-body *, .dash-body *::before, .dash-body *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1080px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .dash-nav { display: none; }
  .dash-header-in { justify-content: space-between; }
  .dash-two, .dash-side { grid-template-columns: 1fr; }
  .dash-welcome { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .dash-header-in { height: 64px; }
  .dash-logo img { height: 28px; }
  .dash-user-hello { display: none; }
  .dash-user-btn { padding-left: 6px; }
  .dash-menu { width: min(320px, calc(100vw - 32px)); }
  .dash-main { padding-block: 28px 48px; }
  .dash-welcome h1 { font-size: 28px; }
  .dash-card, .dash-score { padding: 22px; }
  .dash-score { padding: 28px 22px; }
  .dash-score-main { flex-direction: column; align-items: stretch; gap: 24px; }
  .score-arc { width: 172px; align-self: center; }
  .dash-score-info { align-items: center; text-align: center; }
  .dash-score-info p { margin-inline: auto; }
  .dash-meter { width: 100%; text-align: left; }
  .dash-stats dd { font-size: 22px; }
  .dash-symbol { display: none; }
  .dash-stats { grid-template-columns: 1fr; gap: 8px; }
  .dash-stats div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
  .dash-stats dd { margin: 0; font-size: 19px; }
  .dash-item { flex-wrap: wrap; }
  .dash-item-meta { flex-direction: column; align-items: flex-start; gap: 0; }
  .dash-debt-facts { grid-template-columns: 1fr; gap: 10px; }
  .dash-contact-list { width: 100%; }
  .dash-contact { flex: 1; justify-content: center; padding: 0 10px; height: 40px; }
  .dash-contact--whatsapp { flex-basis: 100%; }
  .dash-item-meta i { display: none; }
  .dash-item-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; padding-left: 54px; }
  .dash-list--compact .dash-item { flex-wrap: nowrap; }
  .dash-list--compact .dash-item-side { width: auto; padding-left: 0; flex-direction: column; align-items: flex-end; }
  .dash-footer .in { flex-direction: column; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--white); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue) 0 82%, var(--green-bright) 82% 100%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-top: 80px; padding-bottom: 64px; }
.footer-brand p { margin-top: 20px; max-width: 300px; font-size: 14.5px; }
.footer-group { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 12.5px; color: var(--faint); }
.footer-group img { height: 22px; width: auto; opacity: .75; transition: opacity .2s; }
.footer-group:hover img { opacity: 1; }
.footer-column h2 { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.footer-column ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.footer-column a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer-column a:hover { color: var(--ink); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 36px; font-size: 13px; color: var(--faint); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }

/* ---------- Privacidade ---------- */
.privacy-body { max-width: 760px; margin: 0 auto; padding: 24px 32px 0; }
.privacy-body h2 { font-size: 32px; letter-spacing: -.03em; }
.privacy-body h3 { font-size: 19px; margin: 48px 0 14px; }
.privacy-body p { color: var(--muted); margin-top: 14px; }
.privacy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.privacy-tag { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 13.5px; }
.privacy-list { list-style: none; padding: 0; margin: 0; }
.privacy-list li { padding: 12px 0 12px 24px; border-top: 1px solid var(--line); color: var(--muted); position: relative; }
.privacy-list li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.rights { background: var(--paper); padding: 112px 0; margin-top: 112px; }
.rights h2 { font-size: 36px; letter-spacing: -.035em; }
.rights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; margin-top: 56px; }
.right-card { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.right-card h3 { font-size: 16.5px; }
.right-card p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.privacy-contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding-top: 112px; padding-bottom: 128px; }
.privacy-contact article { padding: 40px; border-radius: var(--leaf); background: var(--paper); }
.privacy-contact h3 { font-size: 17px; margin-bottom: 12px; }
.privacy-contact h3:not(:first-child) { margin-top: 28px; }
.privacy-contact p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.privacy-contact .small { font-size: 13px; color: var(--faint); margin-top: 20px; }

.cookie-banner {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  width: min(720px, calc(100% - 32px)); display: flex; align-items: center; gap: 24px;
  padding: 18px 18px 18px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 24px 48px -16px rgba(15, 22, 38, .22); border: 1px solid var(--line);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 14px; color: var(--muted); }
.cookie-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
/* notebooks estreitos: aperta o menu para os links caberem em uma linha */
@media (min-width: 1081px) and (max-width: 1240px) {
  .site-header .in { gap: 16px; }
  .site-nav { gap: 0; margin-left: 0; }
  .site-nav a.link { padding-inline: 9px; font-size: 14px; }
  .header-actions .btn { padding-inline: 14px; }
}

@media (max-width: 1080px) {
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0; margin: 0; padding: 12px 20px 20px;
    flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .25s var(--ease);
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a.link { padding: 14px 12px; font-size: 16px; }
  .menu-toggle { display: inline-flex; }
  .login-menu, .header-actions .header-signup { display: none; }
  .login-menu-mobile {
    display: grid; gap: 6px; margin-top: 12px; padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .login-menu-mobile-label {
    padding: 0 12px 4px; font-size: 12px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; color: var(--faint);
  }
  .login-menu-mobile .login-choice { padding: 12px; }
  .hero-grid { gap: 48px; }
  .hero h1, .page-hero h1 { font-size: 46px; }
  .split { gap: 56px; }
  .group-panel { grid-template-columns: 1fr; padding: 56px; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners { flex-direction: column; align-items: flex-start; gap: 24px; }
  .partners p { max-width: none; }
  .partners-row { width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-pillars { grid-template-columns: 1fr 1fr; }
  .alerts-grid { gap: 56px; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 56px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .section { padding: 88px 0; }
  .hero { padding-top: 32px; }
  .tier-list { grid-template-columns: 1fr 1fr; }
  .hero-grid, .hero-grid--tokens { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: 100%; max-width: 460px; }
  .biz-hero-figure { order: -1; width: 100%; max-width: 520px; aspect-ratio: 16 / 11; }
  .biz-pillars { grid-template-columns: 1fr; }
  .group-panel { border-radius: 64px 12px 64px 12px; }
  .hero h1, .page-hero h1 { font-size: 38px; }
  .hero-lead { font-size: 17px; }
  .partners { margin-top: 64px; }
  .statement { font-size: 28px; }
  .principles { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-body { padding: 32px 28px 36px; }
  .audience-body h2 { font-size: 26px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-aside { position: static; }
  .split-aside h2, .section-title { font-size: 32px; }
  .tokens-note { flex-direction: column; align-items: flex-start; gap: 14px; }
  .group { padding-bottom: 88px; }
  .group-panel { padding: 40px 28px; }
  .group-copy h2 { font-size: 28px; }
  .contact-form { padding: 28px 22px; }
  .page-hero { padding: 56px 0 80px; }
  .privacy-contact { grid-template-columns: 1fr; }
  .alerts-grid, .panel-grid { grid-template-columns: 1fr; gap: 40px; }
  .check-card { padding: 6px; }
  .alerts-figure { aspect-ratio: 4 / 3; border-radius: 72px 12px 72px 12px; }
  .cta-panel { padding: 40px 28px; border-radius: 64px 12px 64px 12px; }
  .cta-panel h2 { font-size: 28px; }
  .feature-grid { margin-top: 40px; }
  .rights { padding: 80px 0; margin-top: 80px; }
}

@media (max-width: 560px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .header-actions .btn-primary { padding: 0 16px; }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .hero-actions .btn-primary { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column-reverse; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .partners-row { justify-content: flex-start; }
  .partners-row img { width: 84px; height: 48px; }
  .company-logo { display: none; }
  .company-here { font-size: 0; gap: 0; }
  .chip-group { grid-template-columns: repeat(4, 1fr); }
  .token-card { padding: 28px 22px; }
  .token-coin { top: 20px; right: 18px; width: 56px; height: 56px; }
  .token-card > h2, .token-card > p { padding-right: 62px; }
  .tier-list { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr 64px; }
  .price-brl, .price-head span:last-child { display: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-preview { padding: 22px; }
  .app-status { font-size: 0; gap: 0; padding: 6px; }
  .score-ring { width: 104px; height: 104px; }
  .score-number strong { font-size: 26px; }
  .app-score { gap: 18px; }
  .cta-panel .btn-light { width: 100%; }
}

/* ---------- Página de vídeos ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.video-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); box-shadow: var(--shadow-soft); }
.video-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; align-items: center; }
.video-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue); }
.video-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-player video:fullscreen { object-fit: contain; background: #000; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; transition: background .25s; }
.video-play[hidden] { display: none; }
.video-play:hover { background: rgba(10, 18, 34, .14); }
.video-play:focus-visible { outline-offset: -4px; }
.video-play-icon { position: absolute; right: 20px; bottom: 20px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: 0 14px 30px -10px rgba(5, 10, 22, .55); transition: transform .3s var(--ease); }
.video-play-icon svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.video-play:hover .video-play-icon { transform: scale(1.08); }
.video-duration { position: absolute; right: 92px; bottom: 36px; padding: 2px 10px; border-radius: 999px; background: rgba(10, 18, 34, .72); color: #fff; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.video-body { padding: 28px 32px 32px; }
.video-body h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 12px; }
.video-body p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.video-card--featured .video-body { padding: 32px 40px; }
.video-card--featured h2 { font-size: 30px; letter-spacing: -.03em; }
@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .video-card--featured { display: flex; align-items: stretch; }
  .video-card--featured h2 { font-size: 22px; }
  .video-body, .video-card--featured .video-body { padding: 24px 22px 28px; }
  .video-play-icon { right: 12px; bottom: 12px; width: 46px; height: 46px; }
  .video-play-icon svg { width: 19px; height: 19px; }
  .video-duration { right: 68px; bottom: 24px; }
}
@media (max-width: 560px) {
  .video-duration { display: none; }
}

/* ---------- Modal do vídeo ---------- */
html:has(.video-modal[open]) { overflow: hidden; }
.video-modal {
  /* a largura também respeita a altura da tela, para nada ficar cortado */
  position: fixed; width: min(980px, calc(100vw - 40px), max(300px, calc((100vh - 170px) * 16 / 9)));
  max-width: none; max-height: none; margin: auto; padding: 10px; overflow: visible; border: 0; border-radius: var(--leaf);
  background: var(--white); color: var(--text); box-shadow: 0 50px 100px -30px rgba(5, 10, 22, .6);
}
.video-modal:focus, .video-modal:focus-visible { outline: none; }
.video-modal::before { content: ""; position: absolute; top: -1px; left: 72px; width: 64px; height: 3px; background: var(--brand-line); border-radius: 0 0 3px 3px; }
.video-modal::backdrop { background: rgba(10, 18, 34, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.video-modal[open] { animation: vm-in .5s var(--ease); }
.video-modal[open]::backdrop { animation: vm-fade .4s ease; }
.vm-close { position: absolute; top: -16px; right: -12px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 10px 24px -6px rgba(5, 10, 22, .45); cursor: pointer; transition: background .2s, color .2s, transform .35s var(--ease); }
.vm-close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }
.vm-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 32px 6px 32px 6px; background: #0b1530; }
.vm-frame video { display: block; width: 100%; height: 100%; object-fit: cover; scale: 1.006; }
.vm-frame video:fullscreen { object-fit: contain; scale: none; }
.vm-sound { position: absolute; left: 50%; bottom: 68px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 30px -10px rgba(5, 10, 22, .6), 0 0 0 4px rgba(255, 255, 255, .7); cursor: pointer; animation: vm-nudge 2.4s ease-in-out infinite; }
.vm-sound[hidden] { display: none; }
.vm-foot { display: flex; align-items: center; gap: 14px; padding: 16px 12px 8px 14px; }
.vm-foot img { width: 44px; height: 44px; flex-shrink: 0; }
.vm-text { flex: 1; min-width: 0; line-height: 1.35; }
.vm-text strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.vm-text span { display: block; color: var(--muted); font-size: 14px; }
.vm-skip { flex-shrink: 0; padding: 8px 10px; border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: color .2s; }
.vm-skip:hover { color: var(--ink); }
.vm-foot .btn { flex-shrink: 0; }
@keyframes vm-in { from { opacity: 0; transform: translateY(24px) scale(.95); } }
@keyframes vm-fade { from { opacity: 0; } }
@keyframes vm-nudge { 50% { scale: 1.05; } }
@media (max-width: 760px) {
  .video-modal { width: calc(100vw - 28px); padding: 7px; border-radius: 28px 8px 28px 8px; }
  .video-modal::before { left: 40px; width: 48px; }
  .vm-close { top: -46px; right: 0; width: 36px; height: 36px; }
  .vm-frame { border-radius: 22px 4px 4px 4px; }
  .vm-sound { top: 8px; right: 8px; bottom: auto; left: auto; translate: none; padding: 6px 12px; gap: 6px; font-size: 12.5px; box-shadow: 0 8px 18px -8px rgba(5, 10, 22, .6); }
  .vm-foot { flex-wrap: wrap; gap: 10px; padding: 12px 8px 6px; }
  .vm-foot img { width: 38px; height: 38px; }
  .vm-text strong { font-size: 15.5px; }
  .vm-text span { font-size: 13px; }
  .vm-foot .btn { order: 3; width: 100%; justify-content: center; }
  .vm-skip { order: 4; width: 100%; padding: 4px; }
}
/* telas baixas (celular deitado) */
@media (max-height: 560px) and (orientation: landscape) {
  .video-modal { width: min(calc(100vw - 110px), calc((100vh - 96px) * 16 / 9)); padding: 6px; border-radius: 24px 8px 24px 8px; }
  .vm-close { top: -8px; right: -44px; width: 36px; height: 36px; }
  .vm-frame { border-radius: 19px 4px 4px 4px; }
  .vm-sound { top: 8px; right: 8px; bottom: auto; left: auto; translate: none; padding: 6px 12px; font-size: 12.5px; }
  .vm-foot { flex-wrap: nowrap; gap: 10px; padding: 6px 4px 0 8px; }
  .vm-foot img, .vm-text span, .vm-skip { display: none; }
  .vm-text strong { font-size: 14px; }
  .vm-foot .btn { order: 0; width: auto; height: 36px; min-height: 0; padding-top: 6px; padding-bottom: 6px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-modal[open], .video-modal[open]::backdrop, .vm-sound { animation: none; }
}

/* ---------- Páginas de conteúdo (SEO) ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.content-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 48px; }
.content-cards .feature p { margin-top: 24px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.content-text p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.content-text p + p { margin-top: 20px; }
.split-aside h2 { max-width: 420px; }
.content-updated { margin-top: 40px; font-size: 14px; color: var(--muted); }
.related-links { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); color: var(--ink); font-weight: 600; transition: background .3s, border-color .3s; }
.related-links a:hover { background: var(--blue-soft); border-color: transparent; }
.related-links svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
