:root {
  --bg: #130f12;
  --panel: #1c171b;
  --panel-2: #241d22;
  --panel-3: #2d242a;
  --text: #fff8f3;
  --muted: #c5b6be;
  --soft: #b6a6af;
  --line: rgba(255,255,255,.08);
  --accent: #ff4f6d;
  --accent-2: #ff7b6d;
  --accent-soft: rgba(255,79,109,.14);
  --good: #76d7a5;
  --warn: #f1c66d;
  --bad: #ff7a7a;
  --shadow: 0 20px 60px rgba(0,0,0,.32);
  /* Landing */
  --bg-deep: #0d0a0c;
  --panel-sunken: #141014;
  --text-2: #f3e6ea;
  --text-3: #e9dde2;
  --bubble: #38272f;
  --chip-bg: #271d23;
  --chip-line: #463039;
  --chip-ink: #e7c7d0;
  --paper: #fff7f2;
  --paper-ink: #30212a;
  --paper-label: #6d4b59;
  --paper-button: #eddee2;
  --paper-button-ink: #4d2636;
  --ink-on-accent: #241018;
  --avatar-bg: #eab1bb;
  --avatar-ink: #332027;
  --line-2: rgba(255,255,255,.16);
  --accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-emphasis: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --lp-gutter: clamp(20px, 5vw, 64px);
  --lp-max: 1200px;
  --lp-header-h: 80px;
  --cool: #a9c1d9;
}
/* Fontes próprias (SIL OFL 1.1, licenças em assets/fonts/): sem pedidos ao Google, preload no index.html.
   Os fallbacks locais têm métricas ajustadas para a troca de fonte não mover o layout. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("assets/fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("assets/fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/manrope-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "DM Sans Fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); size-adjust: 104.5%; ascent-override: 94.93%; descent-override: 29.67%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; font-weight: 550 1000; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); size-adjust: 101.8%; ascent-override: 97.45%; descent-override: 30.45%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; font-weight: 100 1000; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); size-adjust: 101%; ascent-override: 105.54%; descent-override: 29.7%; line-gap-override: 0%; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "DM Sans Fallback", system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% -10%, rgba(255,79,109,.18), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(255,123,109,.08), transparent 26%),
    #0d0a0c;
  color: var(--text);
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.app-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(26,19,24,.98), var(--bg));
  box-shadow: var(--shadow);
  overflow-x: hidden;
  padding-bottom: calc(132px + env(safe-area-inset-bottom));
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  background: linear-gradient(180deg, rgba(19,15,18,.98), rgba(19,15,18,.86), transparent);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 22px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(255,79,109,.28);
}
.brand strong { display: block; font: 800 17px/1 "Manrope", "Manrope Fallback"; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .13em; }
.icon-button, .back-button {
  border: 1px solid var(--line);
  background: var(--panel-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-button { width: 40px; height: 40px; border-radius: 50%; font-size: 14px; font-weight: 800; }
.back-button { width: 42px; height: 42px; border-radius: 14px; font-size: 30px; line-height: 1; }
.screen { display: none; padding: 6px 20px 24px; animation: fade .25s ease; }
.screen.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero { padding: 24px 0 10px; }
.hero h1, .screen-title h1 {
  margin: 10px 0 12px;
  font-family: "Manrope", "Manrope Fallback", sans-serif;
  font-size: clamp(34px, 9vw, 46px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.hero > p, .screen-title p {
  margin: 0;
  max-width: 390px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.primary-cta {
  width: 100%;
  margin-top: 26px;
  padding: 16px;
  border: 0;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(135deg, #f83f63, #ff6b63);
  box-shadow: 0 16px 34px rgba(255,79,109,.22);
}
.primary-cta .cta-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(255,255,255,.14); font-size: 24px; }
.primary-cta strong { display: block; font-size: 16px; }
.primary-cta small { display: block; margin-top: 4px; color: rgba(255,255,255,.78); font-size: 14px; }
.primary-cta .arrow { font-size: 30px; opacity: .85; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 28px 0 14px; }
.section-heading h2 { margin: 5px 0 0; font: 700 19px "Manrope", "Manrope Fallback"; letter-spacing: -.02em; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-card {
  min-height: 164px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  text-align: left;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  cursor: pointer;
}
.feature-card.accent { background: linear-gradient(160deg, rgba(255,79,109,.19), var(--panel-2) 62%); border-color: rgba(255,79,109,.2); }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--accent-2); font-size: 19px; }
.feature-card .tag { position: absolute; top: 15px; right: 14px; color: var(--accent-2); background: var(--accent-soft); padding: 5px 7px; border-radius: 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.feature-card strong { display: block; margin-top: 20px; font: 700 14px/1.25 "Manrope", "Manrope Fallback"; }
.feature-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.principle-card { margin-top: 14px; display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); }
.principle-symbol { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.principle-card h3 { margin: 5px 0 6px; font: 700 14px/1.35 "Manrope", "Manrope Fallback"; }
.principle-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.screen-title { display: flex; align-items: center; gap: 14px; padding: 14px 0 18px; }
.screen-title h1 { margin: 5px 0 0; font-size: 29px; }
.screen-title.compact { display: block; padding-top: 20px; }
.screen-title.compact h1 { font-size: 31px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 700; }
.field small { color: var(--soft); font-size: 14px; line-height: 1.4; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  color: var(--text);
  background: var(--panel-2);
  padding: 14px 15px;
}
input:focus, select:focus, textarea:focus { border-color: rgba(255,79,109,.55); box-shadow: 0 0 0 3px rgba(255,79,109,.08); }
textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.primary-button { width: 100%; border: 0; border-radius: 16px; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; background: var(--text); color: #241c21; font-weight: 800; cursor: pointer; }
.is-hidden { display: none !important; }
.signal-list { display: grid; gap: 10px; }
.signal { width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 13px; text-align: left; background: var(--panel); cursor: pointer; }
.signal > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(118,215,165,.08); color: var(--good); font-size: 18px; }
.signal.negative > span { background: rgba(255,122,122,.08); color: var(--bad); }
.signal strong { display: block; font-size: 14px; }
.signal small { display: block; margin-top: 3px; color: var(--soft); font-size: 14px; line-height: 1.4; }
.signal.is-selected { border-color: rgba(118,215,165,.35); background: rgba(118,215,165,.06); }
.signal.negative.is-selected { border-color: rgba(255,122,122,.34); background: rgba(255,122,122,.06); }
.radar-result { margin-top: 18px; padding: 18px; display: grid; grid-template-columns: 86px 1fr; gap: 16px; align-items: center; border-radius: 20px; background: linear-gradient(160deg, rgba(255,79,109,.1), var(--panel)); border: 1px solid var(--line); }
.radar-orbit { width: 82px; height: 82px; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 1px solid rgba(255,79,109,.3); box-shadow: inset 0 0 0 8px rgba(255,79,109,.045), 0 0 35px rgba(255,79,109,.08); }
.radar-orbit span { font: 800 22px "Manrope", "Manrope Fallback"; }
.radar-orbit small { color: var(--soft); font-size: 14px; text-transform: uppercase; }
.radar-result h2 { margin: 5px 0 4px; font: 800 16px "Manrope", "Manrope Fallback"; }
.radar-result p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.audit-card { margin-bottom: 11px; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 15px; background: var(--panel); }
.audit-card.hero-audit { background: linear-gradient(150deg, rgba(255,79,109,.13), var(--panel)); }
.audit-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.05); color: var(--accent-2); font: 800 14px "Manrope", "Manrope Fallback"; }
.audit-card strong { font-size: 14px; }
.audit-card p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.mini-rule { margin-top: 18px; padding: 16px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.025); }
.mini-rule strong { font-size: 14px; }
.mini-rule p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.state-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.state-card { min-height: 136px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; text-align: left; background: var(--panel); cursor: pointer; }
.state-card > span { display: block; color: var(--accent-2); font-size: 23px; }
.state-card strong { display: block; margin-top: 18px; font-size: 14px; }
.state-card small { display: block; margin-top: 5px; color: var(--soft); font-size: 14px; line-height: 1.35; }
.state-card.is-selected { border-color: rgba(255,79,109,.35); background: rgba(255,79,109,.07); }
.inner-result { margin-top: 14px; padding: 18px; border-radius: 18px; background: #f8eee9; color: #302529; }
.inner-result .eyebrow { color: #9f3d50; }
.inner-result h2 { margin: 6px 0; font: 800 16px/1.35 "Manrope", "Manrope Fallback"; }
.inner-result p { margin: 0; color: #766a6f; font-size: 14px; line-height: 1.5; }
.identity-card { margin-top: 14px; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 18px; }
.avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-size: 14px; font-weight: 800; }
.identity-card span, .identity-card strong, .identity-card small { display: block; }
.identity-card span { color: var(--soft); font-size: 14px; text-transform: uppercase; }
.identity-card strong { margin-top: 2px; font-size: 14px; }
.identity-card small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 30;
  width: min(100%, 480px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20,15,18,.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-item { border: 0; background: transparent; color: var(--soft); display: grid; place-items: center; gap: 2px; cursor: pointer; }
.nav-item > span { font-size: 19px; }
.nav-item small { font-size: 14px; font-weight: 700; }
.nav-item.is-active { color: var(--accent-2); }
.toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50; background: #fff7f2; color: #2e2428; border-radius: 30px; padding: 10px 16px; font-size: 14px; font-weight: 800; transition: .2s ease; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 700px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100vh - 48px); border-radius: 28px; border: 1px solid rgba(255,255,255,.08); }
  .bottom-nav { bottom: 24px; border-radius: 0 0 28px 28px; }
  .topbar { border-radius: 28px 28px 0 0; }
}


/* Auth + persisted case flow */
.auth-gate.is-hidden { display: none; }
.auth-card {
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,79,109,.16), transparent 35%),
    linear-gradient(180deg, #21191e, #171216);
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}
.auth-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; }
.auth-logo strong { display: block; font: 800 18px/1 "Manrope", "Manrope Fallback"; }
.auth-logo small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.auth-card h2 { margin: 7px 0 9px; font: 800 29px/1.08 "Manrope", "Manrope Fallback"; letter-spacing: -.035em; }
.auth-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 20px 0 16px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.auth-tab { border: 0; border-radius: 11px; padding: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 800; }
.auth-tab.is-active { background: var(--panel-3); color: var(--text); }
.auth-form { display: grid; gap: 13px; }
.auth-footnote { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.secondary-button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}
.secondary-button.danger { color: var(--bad); }
.secondary-button:disabled, .primary-button:disabled, .auth-tab:disabled {
  opacity: .48;
  cursor: not-allowed;
}
.form-status { min-height: 16px; margin: -2px 0 0; color: var(--soft); font-size: 14px; line-height: 1.4; }
.form-status[data-tone="good"] { color: var(--good); }
.form-status[data-tone="warn"] { color: var(--warn); }
.form-status[data-tone="bad"] { color: var(--bad); }

.account-actions { display: grid; margin-top: 12px; }

@media (max-width: 390px) {
  .case-toolbar { grid-template-columns: 1fr; }
  .case-actions { justify-content: stretch; }
  .case-actions .secondary-button { flex: 1; }
}


/* Beta privacy + account controls */
.signup-requirements {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.signup-requirements.is-hidden { display: none; }
.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.consent-check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.text-button {
  width: max-content;
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.privacy-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.privacy-card h2 {
  margin: 6px 0 7px;
  font: 800 16px/1.3 "Manrope", "Manrope Fallback";
}
.privacy-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.privacy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.privacy-actions .danger {
  grid-column: 1 / -1;
}
/* Plano e créditos (billing.js): saldo, Pro e recargas. Fica oculto até o saldo carregar. */
.plan-card > .plan-credits { margin: 2px 0 4px; color: var(--text); font: 800 22px/1.25 "Manrope", "Manrope Fallback"; }
.plan-card > .plan-detail { margin-bottom: 4px; }
/* The plan card's way into the free verification dialog, under the balance. */
.link-button { width: max-content; max-width: 100%; border: 0; padding: 2px 0; background: transparent; color: var(--accent-2); font: inherit; font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; }
.plan-actions { display: grid; gap: 8px; margin-top: 14px; }
.plan-card a.primary-button, .plan-card a.secondary-button { min-height: 44px; text-decoration: none; }
.plan-card a.secondary-button { display: grid; place-items: center; text-align: center; }
.plan-card .plan-subtitle { margin: 18px 0 4px; font: 800 14px/1.3 "Manrope", "Manrope Fallback"; }
.plan-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }
.plan-packs a { gap: 2px; padding: 10px 6px; }
.plan-packs strong { font-size: 14px; }
.plan-packs span { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-packs a.is-featured { border-color: var(--accent-2); }
.plan-card .form-status { margin-top: 8px; }
.app-dialog {
  width: min(calc(100% - 28px), 430px);
  max-height: min(88vh, 720px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: #1b1519;
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0,0,0,.58);
}
.app-dialog::backdrop {
  background: rgba(7,5,6,.82);
  backdrop-filter: blur(9px);
}
.dialog-card {
  display: grid;
  gap: 15px;
  padding: 20px;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}
.dialog-heading h2 {
  margin: 5px 0 0;
  font: 800 20px/1.2 "Manrope", "Manrope Fallback";
}
.dialog-close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}
.privacy-copy {
  display: grid;
  gap: 11px;
  max-height: 48vh;
  overflow: auto;
  padding-right: 4px;
}
.privacy-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.privacy-copy strong { color: var(--text); }
.dialog-warning {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,122,122,.18);
  border-radius: 13px;
  background: rgba(255,122,122,.06);
  color: #e8b6b6;
  font-size: 14px;
  line-height: 1.5;
}
.danger-button {
  width: 100%;
  border: 1px solid rgba(255,122,122,.32);
  border-radius: 14px;
  padding: 13px 15px;
  background: rgba(255,122,122,.11);
  color: #ffc2c2;
  font-weight: 800;
  cursor: pointer;
}
.danger-button:disabled { opacity: .48; cursor: not-allowed; }

@media (max-width: 360px) {
  .privacy-actions { grid-template-columns: 1fr; }
  .privacy-actions .danger { grid-column: auto; }
}


/* Conversation experience: one scroll region, with the composer and nav in layout. */
:root { --viewport-height: 100dvh; --viewport-top: 0px; color-scheme: dark; }
body { font-size: 16px; line-height: 1.55; }
button, summary { -webkit-tap-highlight-color: transparent; }
button, summary, .text-button { min-height: 44px; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
input, textarea, select { font-size: 16px; }
small { font-size: 14px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ui-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.muted, .dialog-note { color: var(--muted); }
.danger { color: var(--bad); }
body { padding: 0; }
.app-shell { width: min(100%,1280px); min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
.topbar { border-radius: 0; min-height: 80px; padding: calc(12px + env(safe-area-inset-top)) 24px 12px; background: var(--bg); }
.brand strong { font-size: 21px; }
.brand small, .auth-logo small { font-size: 13px; letter-spacing: .04em; text-transform: none; }
.brand-mark { box-shadow: none; }
.icon-button, .back-button { width: 44px; height: 44px; flex-shrink: 0; }
.screen:not(.conversation-screen) { max-width: 720px; margin: 0 auto; padding: 16px 24px 32px; }
.hero > p, .screen-title p { font-size: 16px; max-width: 55ch; }
.eyebrow { font-size: 13px; letter-spacing: .1em; }
.feature-card { min-height: 190px; }
.feature-card strong, .principle-card h3, .signal strong, .audit-card strong, .state-card strong, .identity-card strong { font-size: 16px; }
.feature-card .tag { position: static; display: inline-block; margin-top: 10px; padding: 3px 8px; font-size: 13px; }
.feature-card .tag + strong { margin-top: 10px; }
.feature-card small, .principle-card p, .signal small, .radar-result p, .audit-card p, .state-card small, .inner-result p, .mini-rule p { line-height: 1.6; }
.primary-cta { color: #241018; }
.primary-cta small { color: #33151e; font-size: 14px; }
.identity-card strong { overflow-wrap: anywhere; }
.inner-result p { color: #65565e; }
.bottom-nav { width: min(100%,1280px); border-radius: 0; bottom: 0; min-height: 78px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
.nav-item { min-height: 54px; gap: 3px; }
.nav-item small { font-size: 14px; }
.nav-item.is-active { color: #ff8796; }
.nav-item.is-active::after { content: ''; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.toast { bottom: calc(94px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); font-size: 14px; }
.text-button { width: auto; padding: 8px 0; text-align: left; }
.field > span { font-size: 14px; }
.field small { font-size: 14px; color: var(--muted); }
.secondary-button { font-size: 14px; font-weight: 600; }
.form-status { font-size: 14px; line-height: 1.5; min-height: 0; margin: 0; }
.form-status:empty { display: none; }
.auth-card { margin: auto; max-width: 460px; width: 100%; }
.auth-card > p { font-size: 16px; }
.auth-card h2 { line-height: 1.2; }
.auth-tabs { margin-top: 24px; }
.auth-form { gap: 18px; }
.auth-footnote { font-size: 14px; }
body:not(.is-authenticated) #authenticatedApp { display: none; }
.consent-check { align-items: center; grid-template-columns: 24px 1fr; min-height: 44px; font-size: 14px; }
.consent-check input { width: 22px; height: 22px; }
.app-dialog { max-height: calc(var(--viewport-height) - 32px); max-width: 500px; width: calc(100% - 32px); }
.app-dialog { top: calc(var(--viewport-top) + 16px); bottom: auto; margin: 0 auto; }
.dialog-card { padding: 24px; gap: 18px; }
.dialog-close { width: 44px; height: 44px; flex-basis: 44px; }
.dialog-heading h2 { font-size: 22px; line-height: 1.3; }
.dialog-card p { margin: 0; }
.dialog-note, .privacy-copy p, .dialog-warning, .privacy-card > p { font-size: 14px; line-height: 1.6; }
.dialog-card textarea { min-height: 104px; }
.privacy-copy { max-height: none; }

body.is-authenticated[data-screen="coach"] { overflow: hidden; }
body[data-screen="coach"] .app-shell { padding: 0; height: var(--viewport-height); min-height: 0; }
body[data-screen="coach"] #authenticatedApp { position: fixed; top: var(--viewport-top); left: max(0px,calc((100% - 1280px)/2)); width: min(100%,1280px); height: var(--viewport-height); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0,1fr) auto; }
body[data-screen="coach"] .bottom-nav { position: static; transform: none; }
body[data-screen="coach"] .topbar { position: static; }
.conversation-screen { padding: 0; animation: none; min-height: 0; }
.conversation-screen.is-active { display: block; }
.conversation-workspace { height: 100%; display: grid; grid-template-columns: 310px minmax(0,1fr); border-top: 1px solid var(--line); }
.inbox { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.inbox-heading { padding: 24px 20px 16px; }
.inbox-heading h1 { font: 800 30px/1.2 Manrope, "Manrope Fallback",system-ui,sans-serif; letter-spacing: -.04em; margin: 6px 0 8px; }
.inbox-heading p { color: var(--muted); font-size: 16px; margin: 0; }
.new-case-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 22px; border: 0; border-radius: 14px; padding: 12px 16px; background: var(--accent); color: #261219; font-weight: 800; }
.inbox-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 0 10px; }
.inbox-scroll > .form-status { padding: 20px 10px; }
.inbox-footnote { color: var(--muted); font-size: 14px; line-height: 1.5; padding: 16px 20px; margin: 0; }
.conversation-row { display: flex; width: 100%; align-items: flex-start; gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 20px 10px; text-align: left; cursor: pointer; }
.conversation-row:hover { background: rgba(255,255,255,.035); }
.conversation-row[aria-current] { background: #302028; border-radius: 14px; border-bottom-color: transparent; }
.case-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #54373f; color: #ffe1e4; font-size: 18px; font-weight: 600; }
.conversation-row[aria-current] .case-avatar { background: #eab1bb; color: #332027; }
.case-row-copy { min-width: 0; flex: 1; }
.case-row-heading { display: flex; align-items: baseline; gap: 10px; justify-content: space-between; }
.case-row-heading strong { font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.case-date { flex-shrink: 0; font-size: 13px; color: var(--muted); }
.case-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 5px; }
.case-phase { display: inline-block; font-size: 13px; color: #efbac4; margin-top: 9px; }
.more-cases { margin: 12px; }
.empty-inbox { padding: 28px 10px; }
.empty-inbox h2 { font-size: 20px; line-height: 1.4; margin: 0 0 10px; }
.empty-inbox p { margin: 0; color: var(--muted); }
.conversation { min-height: 0; min-width: 0; position: relative; background: linear-gradient(150deg,#181216,var(--bg) 65%); }
.conversation-welcome { height: 100%; padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.welcome-heart { color: var(--accent-2); display: grid; place-items: center; width: 64px; height: 64px; background: var(--accent-soft); border-radius: 22px; margin-bottom: 14px; }
.welcome-heart .ui-icon { width: 30px; height: 30px; }
.conversation-welcome h2 { font: 700 26px/1.35 Manrope, "Manrope Fallback",system-ui,sans-serif; margin: 0 0 12px; }
.conversation-welcome p { max-width: 34ch; color: var(--muted); margin: 0; }
.open-conversation { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0,1fr) auto; position: relative; }
.conversation-header { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.conversation-heading { flex: 1; min-width: 0; }
.conversation-heading h2 { font: 700 20px/1.35 Manrope, "Manrope Fallback",system-ui,sans-serif; margin: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.conversation-heading p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.context-button { flex-shrink: 0; background: transparent; }
.back-to-inbox { display: none; }
.thread-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 8px 28px 24px; overflow-anchor: none; scroll-behavior: auto; }
.chat-timeline { max-width: 700px; margin: 0 auto; }
.history-status { padding: 16px 0; }
.older-messages { margin: 0 auto; display: block; }
.chat-day { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; margin: 24px 0; }
.chat-day::before, .chat-day::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.chat-message { margin-block: 22px; overflow-wrap: anywhere; }
.message-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.message-meta strong { font-weight: 600; }
.message-meta time { font-size: 13px; margin-left: auto; }
.message-meta .ui-icon { color: var(--accent-2); width: 18px; height: 18px; flex-basis: 18px; }
.from-user { width: fit-content; max-width: 88%; margin-left: auto; }
.from-user .message-meta { justify-content: flex-end; }
.from-user .message-meta time { margin-left: 2px; }
.user-bubble { margin: 0; padding: 12px 16px; background: #38272f; border: 1px solid rgba(255,170,187,.1); border-radius: 18px 18px 4px 18px; }
/* Like a messaging app: what you sent on the right, the Anteros reply in its own bubble on the left. */
.from-anteros { max-width: 94%; }
.from-anteros .assistant-content { padding: 14px 16px; background: #1f181d; border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; }
.chat-message p { font-size: 16px; line-height: 1.65; white-space: pre-wrap; }
.answer-verdict { font-size: 19px !important; font-weight: 600; line-height: 1.5 !important; margin: 0 0 16px; }
.reading-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.reading-chip { font-size: 13px; color: #e7c7d0; border-radius: 20px; border: 1px solid #463039; padding: 6px 10px; background: #271d23; }
.next-step h4, .answer-expanded h4 { font-size: 16px; line-height: 1.4; margin: 0 0 8px; }
.next-step p { margin: 0 0 20px; }
.suggested-message { padding: 16px 18px; border-radius: 16px; background: #fff7f2; color: #30212a; margin-top: 14px; }
.suggestion-label { font-size: 13px; font-weight: 700; color: #6d4b59; }
.suggested-message p { margin: 8px 0; }
.copy-message { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; background: #eddee2; color: #4d2636; font-size: 14px; font-weight: 600; padding: 8px 12px; margin-left: auto; }
.answer-details { margin-top: 4px; }
.answer-details > summary { display: list-item; cursor: pointer; padding: 8px 0; color: var(--muted); font-size: 14px; }
.answer-details[open] > summary { color: var(--accent-2); }
.answer-expanded { padding: 12px 0; border-top: 1px solid var(--line); }
.answer-expanded section + section { margin-top: 24px; }
.answer-expanded p { margin: 0; color: var(--muted); }
.answer-expanded ul { padding-left: 22px; margin: 0; color: var(--muted); }
.answer-expanded li + li { margin-top: 8px; }
.long-message > summary { cursor: pointer; white-space: pre-wrap; }
.long-message > summary .text-button { display: block; }
.long-message[open] > summary > span:first-child { display: none; }
.empty-thread { max-width: 38ch; padding: 48px 0; margin: 0 auto; }
.empty-thread h3 { font: 700 22px/1.4 Manrope, "Manrope Fallback",system-ui,sans-serif; }
.empty-thread p { color: var(--muted); }
.composer { padding: 12px 24px 12px; background: var(--bg); border-top: 1px solid var(--line); min-width: 0; }
.composer-field { display: flex; align-items: flex-end; gap: 2px; padding: 6px; border: 1px solid #49333f; border-radius: 20px; background: #241c22; }
.media-draft { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin: 0 4px 8px; padding: 8px 12px; border: 1px solid #49333f; border-radius: 14px; background: #2b2027; color: #eadde3; font-size: 14px; }
.media-draft[hidden] { display: none; }
.media-clear { min-height: 36px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: #f0a0b2; font: inherit; cursor: pointer; }
.composer-tool { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #d6c7cf; cursor: pointer; }
.composer-tool:hover, .composer-tool:focus-visible { background: rgba(255,255,255,.07); color: #fff; }
.composer-tool.is-recording { background: rgba(255,123,109,.18); color: #ff8f83; }
.composer-tool:disabled { opacity: .45; cursor: default; }

.composer-field:focus-within { border-color: #c56f84; box-shadow: 0 0 0 2px rgba(255,123,109,.12); }
.composer textarea { min-height: 44px; max-height: 144px; padding: 9px 8px; background: transparent; border: 0; border-radius: 0; box-shadow: none; resize: none; font-size: 16px; }
.composer textarea::placeholder { color: #c5b4bd; opacity: 1; }
.send-button { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; border-radius: 50%; border: 0; background: var(--accent); color: #2a111a; cursor: pointer; }
.composer-privacy { margin: 6px 0 0; padding: 0 8px; color: var(--soft); font-size: 13px; line-height: 1.35; }
.composer-count:not(:empty) { margin-left: 8px; color: var(--muted); }
.composer .form-status { padding: 6px 8px 0; }
.thinking-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0; color: #e8c7d1; font-size: 14px; }
.thinking-state small { width: 100%; color: var(--muted); line-height: 1.55; font-size: 14px; }
.thinking-state { transition: opacity .12s ease-out; }
.thinking-state.is-completing { opacity: 0; }
.thinking-dots { display: flex; gap: 4px; align-items: center; height: 24px; }
.thinking-dots i { width: 6px; height: 6px; background: var(--accent-2); border-radius: 50%; animation: thinking 1.5s ease-in-out infinite; }
.thinking-dots i:nth-child(2) { animation-delay: .18s; }
.thinking-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes thinking { 0%,70%,100% { opacity: .45; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-2px); } }
.answer-arriving { animation: answer-in .2s ease-out; }
@keyframes answer-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.delivery-state { padding: 16px; border-left: 2px solid var(--warn); background: rgba(241,198,109,.06); margin: 24px 0; font-size: 14px; }
.delivery-state p { margin: 0 0 12px; }
.delivery-state button { margin: 4px 8px 4px 0; }
.new-response { position: absolute; z-index: 2; right: 24px; bottom: 145px; background: #4a2c3a; box-shadow: 0 4px 16px #0005; }
body.keyboard-open[data-screen="coach"] .bottom-nav { display: none; }
body.keyboard-open[data-screen="coach"] #authenticatedApp { grid-template-rows: auto minmax(0,1fr); }

@media (max-width: 819px) {
  .topbar { min-height: 72px; padding: calc(10px + env(safe-area-inset-top)) 20px 10px; }
  .conversation-workspace { display: block; }
  .inbox { height: 100%; border-right: 0; }
  .inbox-heading { padding: 18px 20px 16px; }
  .inbox-heading h1 { font-size: 32px; }
  .inbox-scroll { padding: 0 10px; }
  .conversation { display: none; height: 100%; }
  .has-selection .inbox { display: none; }
  .has-selection .conversation { display: block; }
  .conversation-header { padding: 12px 16px; gap: 10px; min-height: 78px; }
  .conversation-heading h2 { font-size: 18px; }
  .conversation-heading p { font-size: 13px; }
  .back-to-inbox { display: grid; border: 0; background: transparent; margin-left: -6px; }
  .context-button { padding: 8px 10px; }
  .thread-scroll { padding: 0 20px 16px; }
  .chat-message { margin-block: 18px; }
  .answer-verdict { font-size: 18px !important; }
  .composer { padding: 10px 16px; }
  .bottom-nav { min-height: 74px; padding-left: 8px; padding-right: 8px; }
  .nav-item small { font-size: 13px; }
  body.keyboard-open[data-screen="coach"] .topbar { display: none; }
  body.keyboard-open[data-screen="coach"] #authenticatedApp { grid-template-rows: minmax(0,1fr); }
  body.keyboard-open .composer { padding-bottom: max(10px,env(safe-area-inset-bottom)); }
  /* Inside a conversation the phone shows only the chat, like WhatsApp: no app bar, no tab bar. */
  body.conversation-open[data-screen="coach"] .topbar,
  body.conversation-open[data-screen="coach"] .bottom-nav { display: none; }
  body.conversation-open[data-screen="coach"] #authenticatedApp { grid-template-rows: minmax(0,1fr); }
  body.conversation-open[data-screen="coach"] .conversation-header { min-height: 64px; padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px; }
  body.conversation-open[data-screen="coach"] .composer { padding-bottom: max(10px,env(safe-area-inset-bottom)); }
}
@media (max-height: 500px) {
  body[data-screen="coach"] .topbar { display: none; }
  body[data-screen="coach"] #authenticatedApp { grid-template-rows: minmax(0,1fr) auto; }
  body.keyboard-open[data-screen="coach"] #authenticatedApp { grid-template-rows: minmax(0,1fr); }
  .conversation-header { min-height: 60px; padding-top: 6px; padding-bottom: 6px; }
  .composer { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 360px) {
  .thread-scroll { padding-left: 14px; padding-right: 14px; }
  .conversation-header { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .conversation-heading p { max-width: 18ch; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .feature-grid, .state-grid { grid-template-columns: 1fr; }
  .composer { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .thinking-dots i { opacity: .8; }
}


/* Brand assets: approved coral Anteros mark with one consistent SVG icon language. */
.brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 0;
}
.brand-logo {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.auth-logo {
  display: grid;
  justify-items: start;
  gap: 0;
}
.auth-wordmark {
  display: block;
  width: 188px;
  height: auto;
  object-fit: contain;
}
.cta-icon .ui-icon { width: 24px; height: 24px; }
.primary-cta .cta-chevron { width: 24px; height: 24px; opacity: .85; }
.feature-icon .ui-icon { width: 20px; height: 20px; }
.principle-symbol .ui-icon { width: 22px; height: 22px; }
.signal > span .ui-icon { width: 20px; height: 20px; }
.audit-arrow {
  display: grid;
  place-items: center;
  color: var(--soft);
}
.audit-arrow .ui-icon { width: 20px; height: 20px; }
.state-card > span .ui-icon { width: 23px; height: 23px; }
.dialog-close .ui-icon,
.primary-button .ui-icon { width: 20px; height: 20px; }
.welcome-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--accent-soft);
  border-radius: 22px;
  margin-bottom: 14px;
}
.welcome-mark img {
  display: block;
  width: 36px;
  height: 32px;
  object-fit: contain;
}
.message-meta .anteros-mark {
  display: block;
  width: 20px;
  height: 18px;
  flex: 0 0 20px;
  object-fit: contain;
}
@media (max-width: 360px) {
  .brand-logo { width: 136px; }
}


/* ==========================================================================
   Landing pública (quem está deslogado). Fonte: docs/design/landing/.
   ========================================================================== */
body:not(.is-authenticated) {
  background: radial-gradient(900px 520px at 12% -6%, rgba(255,79,109,.14), rgba(255,79,109,0) 70%), var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body:not(.is-authenticated) .app-shell { width: 100%; min-height: 0; padding: 0; background: none; overflow: visible; }
body.is-authenticated :is(.lp-header, .lp-footer) { display: none; }
/* boot.js: a stored session keeps the landing out of the way until app.js decides. */
html[data-session="restoring"] body:not(.is-authenticated) :is(.lp-header, .lp, .lp-footer) { visibility: hidden; animation: lp-unhide 0s linear 6s forwards; }
@keyframes lp-unhide { to { visibility: visible; } }

.lp { position: relative; overflow-x: clip; }
.lp-wrap { max-width: var(--lp-max); margin: 0 auto; padding-left: var(--lp-gutter); padding-right: var(--lp-gutter); }
:where(.lp) :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
:where(.lp) :where(ul, ol) { padding: 0; list-style: none; }
:where(.lp) :where(h1, h2, h3) { text-wrap: balance; }
:where(.lp) :where(p) { text-wrap: pretty; }
:is(.lp, .lp-header, .lp-footer) a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
:is(.lp, .lp-header, .lp-footer) a:not(.lp-button):focus-visible { border-radius: 6px; }
.lp-eyebrow { font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.lp-eyebrow-badge { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); vertical-align: middle; }
.lp-h2 { margin-top: 14px; font: 800 clamp(30px, 3.4vw, 48px)/1.1 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.035em; }
.lp-intro { max-width: 720px; }
.lp-intro-copy { margin-top: 16px; max-width: 40em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--muted); }
.lp-section { padding-top: clamp(88px, 10vw, 144px); }

/* Buttons */
.lp-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 16px; font: 800 17px/1 "DM Sans", "DM Sans Fallback", system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.lp-button .ui-icon { width: 20px; height: 20px; flex-basis: 20px; }
.lp-button-primary { background: var(--accent-gradient); color: var(--ink-on-accent); box-shadow: 0 18px 40px -14px rgba(255,79,109,.6); }
.lp-button-accent { background: var(--accent); color: var(--ink-on-accent); }
.lp-button-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--text); font-weight: 700; padding: 0 24px; }
.lp-button-small { min-height: 44px; padding: 0 16px; border-radius: 13px; font-size: 15px; font-weight: 700; }
.lp-button-accent.lp-button-small { padding: 0 18px; }

/* Header: fixed, so compacting it never moves the page. */
.lp-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--lp-header-h); pointer-events: none; }
.lp-header::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--lp-header-h); background: rgba(13,10,12,.74); border-bottom: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); opacity: 0; transform: scaleY(.8); transform-origin: top; transition: opacity .3s var(--ease-out), transform .35s var(--ease-emphasis); }
.lp-header.is-scrolled::before { opacity: 1; }
.lp-header-inner { position: relative; height: var(--lp-header-h); max-width: var(--lp-max); margin: 0 auto; padding: 0 var(--lp-gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: auto; transition: transform .35s var(--ease-emphasis); }
.lp-header.is-scrolled .lp-header-inner { transform: translateY(-8px); }
.lp-logo { transition: transform .35s var(--ease-emphasis); transform-origin: left center; }
.lp-header.is-scrolled .lp-logo { transform: scale(.92); }
body:not(.is-authenticated) .app-shell { padding-top: var(--lp-header-h); }
.lp-top-sentinel { position: absolute; top: calc(-1 * var(--lp-header-h) + 12px); left: 0; width: 1px; height: 1px; pointer-events: none; }
/* Jumps land the section's eyebrow just below the header (cancels the section's top padding). */
.lp-section[id] { scroll-margin-top: calc(24px - clamp(88px, 10vw, 144px)); }
.lp-logo-link { display: flex; align-items: center; min-height: 44px; }
.lp-logo { display: block; width: clamp(112px, 10.5vw, 148px); height: auto; }
.lp-header-actions { display: flex; align-items: center; gap: 8px; }

/* Hero */
.lp-hero { padding-top: clamp(28px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 5vw, 72px); }
.lp-hero-copy { flex: 1.15 1 440px; min-width: 0; }
.lp-title { margin-top: 18px; font: 800 clamp(40px, 4.8vw, 68px)/1.02 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.045em; }
.lp-line { display: block; }
.lp-line > span { display: block; }
.lp-lead { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--muted); }
.lp-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.lp-link-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,248,243,.3); text-underline-offset: 6px; }
.lp-link-cta .ui-icon { width: 18px; height: 18px; flex-basis: 18px; }
.lp-button.lp-link-cta { text-decoration: none; font-size: 17px; font-weight: 700; gap: 10px; }
@media (min-width: 681px) { .lp-button.lp-link-cta { min-height: 56px; } }
.lp-hero-note { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 680px) {
  /* Ad visitors land here on phones: the offer and both actions must fit the first screen. */
  .lp-lead { margin-top: 14px; }
  .lp-hero-actions { margin-top: 20px; gap: 10px; }
  .lp-hero-actions .lp-button { flex: 1 1 100%; }
  .lp-assurances { margin-top: 18px; }
}
.lp-assurances { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.lp-assurances li { display: flex; align-items: center; gap: 8px; }
.lp-assurances .ui-icon { width: 16px; height: 16px; flex-basis: 16px; color: var(--good); stroke-width: 2.2; }
.lp-hero-stage { flex: 1 1 420px; min-width: 0; position: relative; }
.lp-aurora { position: absolute; left: 4%; right: -10%; top: 12%; bottom: -8%; background: radial-gradient(closest-side, rgba(255,79,109,.38), rgba(255,79,109,0)); filter: blur(40px); pointer-events: none; }

/* Hero demo (exemplo fictício) */
.lp-demo { position: relative; border-radius: 28px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(160deg, #201820 0%, #151014 58%); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); overflow: hidden; }
.lp-demo-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.lp-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; background: var(--avatar-bg); color: var(--avatar-ink); font-weight: 700; font-size: 17px; line-height: 1; }
.lp-demo-id { flex: 1; min-width: 0; }
.lp-demo-name { font: 700 17px/1.3 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; }
.lp-demo-meta { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.lp-demo-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.lp-divider { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.4; color: var(--soft); }
.lp-divider::before, .lp-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.08); }
.lp-demo-user { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lp-demo-stamp { font-size: 13px; line-height: 1.4; color: var(--muted); }
.lp-demo-stamp strong { font-weight: 600; color: var(--text); }
.lp-bubble { max-width: 88%; padding: 13px 16px; background: var(--bubble); border: 1px solid rgba(255,170,187,.1); border-radius: 18px 18px 4px 18px; font-size: 15px; line-height: 1.5; }
.lp-demo-answer { display: flex; flex-direction: column; gap: 14px; }
.lp-demo-from { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lp-demo-from span { margin-left: auto; font-size: 13px; }
.lp-mark-small { display: block; width: 22px; height: 19px; }
.lp-verdict { font-size: clamp(17px, 1.4vw, 19px); font-weight: 700; line-height: 1.4; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips > * { font-size: 13px; line-height: 1.3; color: var(--chip-ink); border: 1px solid var(--chip-line); background: var(--chip-bg); border-radius: 999px; padding: 6px 11px; }
.lp-next-title { font-size: 15px; font-weight: 700; line-height: 1.4; }
.lp-next-copy { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.lp-suggestion { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 16px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.lp-suggestion-label { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--paper-label); }
.lp-suggestion-text { font-size: 16px; line-height: 1.5; }
.lp-copy { align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 11px; background: var(--paper-button); color: var(--paper-button-ink); font: 600 14px/1 "DM Sans", "DM Sans Fallback", system-ui, sans-serif; cursor: pointer; }
.lp-copy .ui-icon { width: 18px; height: 18px; flex-basis: 18px; }
.lp-copy:focus-visible { outline-color: var(--paper-button-ink); }
.lp-analysis-toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -6px 0; padding: 0; border: 0; background: none; color: var(--muted); font: 600 14px/1 "DM Sans", "DM Sans Fallback", system-ui, sans-serif; cursor: pointer; }
.lp-analysis-toggle .ui-icon { width: 16px; height: 16px; flex-basis: 16px; stroke-width: 2; transition: transform .2s var(--ease-out); }
.lp-analysis-toggle[aria-expanded="true"] .ui-icon { transform: rotate(90deg); }
.lp-analysis dl { display: grid; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.lp-analysis dt { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--accent-2); }
.lp-analysis dd { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--text-3); }

/* Como funciona */
.lp-steps { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.lp-step { display: flex; flex-direction: column; gap: 20px; padding: 12px 12px 28px; border-radius: 24px; background: var(--panel); border: 1px solid rgba(255,255,255,.08); }
.lp-step-visual { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border-radius: 16px; background: var(--panel-sunken); border: 1px solid rgba(255,255,255,.05); }
.lp-step-copy { display: flex; flex-direction: column; gap: 10px; padding: 0 clamp(10px, 1.2vw, 18px); }
.lp-step-number { font: 800 15px/1 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: .04em; color: var(--accent-2); }
.lp-step h3 { margin-top: 4px; font: 700 22px/1.25 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.02em; }
.lp-step p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.lp-visual-report, .lp-visual-reading { display: flex; flex-direction: column; gap: 10px; }
.lp-visual-message { display: flex; flex-direction: column; gap: 12px; }
.lp-attach-pill { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; background: #2a2026; font-size: 13px; line-height: 1.3; color: var(--chip-ink); }
.lp-attach-pill .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.lp-mini-composer { display: flex; align-items: center; gap: 4px; padding: 7px 7px 7px 8px; border-radius: 18px; background: var(--panel-2); border: 1px solid rgba(255,255,255,.08); }
.lp-mini-tool { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: var(--muted); }
.lp-mini-tool .ui-icon { width: 20px; height: 20px; flex-basis: 20px; }
.lp-mini-placeholder { flex: 1; min-width: 0; padding-left: 4px; font-size: 14px; line-height: 1.35; color: var(--soft); }
.lp-mini-send { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink-on-accent); }
.lp-mini-send .ui-icon { width: 18px; height: 18px; flex-basis: 18px; stroke-width: 2; }
.lp-claim { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.lp-claim-tag { flex: 0 0 auto; font-size: 13px; font-weight: 700; line-height: 1.3; border-radius: 999px; padding: 3px 10px; }
.lp-claim-fact { color: var(--good); background: rgba(118,215,165,.12); }
.lp-claim-guess { color: var(--warn); background: rgba(241,198,109,.12); }
.lp-claim-muted { color: var(--muted); }
.lp-chips-small { gap: 6px; padding-top: 4px; }
.lp-chips-small > * { padding: 5px 10px; }
.lp-mini-suggestion { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 14px 16px; border-radius: 16px; background: var(--paper); color: var(--paper-ink); }
.lp-mini-suggestion-row { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; }
.lp-mini-suggestion-row > span:first-child { flex: 1; min-width: 0; }
.lp-mini-copy { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: grid; place-items: center; background: var(--paper-button); color: var(--paper-button-ink); }
.lp-mini-copy .ui-icon { width: 18px; height: 18px; flex-basis: 18px; }
.lp-mini-more { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.lp-mini-more .ui-icon { width: 14px; height: 14px; flex-basis: 14px; stroke-width: 2; }

/* Módulos */
.lp-module-grid { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.lp-module { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border-radius: 24px; background: var(--panel); border: 1px solid rgba(255,255,255,.08); }
.lp-module-accent { background: linear-gradient(160deg, rgba(255,79,109,.17), var(--panel) 62%); border-color: rgba(255,79,109,.22); }
.lp-icon-tile { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.07); color: var(--accent-2); }
.lp-icon-tile-small { width: 40px; height: 40px; border-radius: 12px; }
.lp-icon-tile-small .ui-icon { width: 20px; height: 20px; flex-basis: 20px; }
.lp-module h3 { margin-top: 12px; font: 700 20px/1.3 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.015em; }
.lp-module p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Princípio */
.lp-band { margin-top: clamp(80px, 8vw, 120px); background: var(--bg); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.lp-band-inner { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.lp-principle { margin-top: 18px; max-width: 22ch; font: 800 clamp(36px, 4.6vw, 66px)/1.05 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.045em; }
.lp-principle-key { color: var(--accent-2); }
.lp-principle-copy { margin-top: 22px; max-width: 36em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); }
.lp-tenets { margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px clamp(28px, 3vw, 48px); }
.lp-tenets li { display: flex; flex-direction: column; gap: 10px; }
.lp-tenets .ui-icon { width: 24px; height: 24px; color: var(--accent-2); }
.lp-tenets h3 { margin-top: 4px; font: 700 20px/1.3 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.015em; }
.lp-tenets p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Privacidade e perguntas: introdução à esquerda, conteúdo à direita */
.lp-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(36px, 5vw, 72px); }
#perguntas.lp-split { gap: clamp(28px, 5vw, 72px); }
.lp-split-intro { flex: 1 1 300px; min-width: 0; }
.lp-privacy-grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.lp-privacy-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: 20px; background: var(--panel); border: 1px solid rgba(255,255,255,.08); }
.lp-privacy-item h3 { margin-top: 8px; font: 700 18px/1.3 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; }
.lp-privacy-item p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.lp-faq { flex: 2 1 560px; min-width: 0; border-top: 1px solid rgba(255,255,255,.1); }
.lp-faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.lp-faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 0; border: 0; background: none; color: var(--text); text-align: left; font: 700 clamp(17px, 1.4vw, 19px)/1.4 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; cursor: pointer; }
.lp-faq-trigger .ui-icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent-2); stroke-width: 2; transition: transform .2s var(--ease-out); }
.lp-faq-trigger[aria-expanded="true"] .ui-icon { transform: rotate(180deg); }
.lp-faq-panel p { padding: 0 36px 22px 0; max-width: 62ch; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Chamada final */
.lp-final-wrap { padding-bottom: clamp(64px, 7vw, 96px); }
.lp-final { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid rgba(255,79,109,.2); background: radial-gradient(720px 340px at 50% -14%, rgba(255,79,109,.28), rgba(255,79,109,0) 70%), var(--panel); padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 88px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.lp-final-mark { display: block; width: 44px; height: 37px; }
.lp-final-title { margin-top: 8px; max-width: 16ch; font: 800 clamp(32px, 4.2vw, 60px)/1.05 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.04em; }
.lp-final-copy { max-width: 32em; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); }
.lp-final-actions { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.lp-final-note { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--soft); }

/* Rodapé */
.lp-footer { border-top: 1px solid rgba(255,255,255,.07); }
.lp-footer-inner { padding-top: 24px; padding-bottom: calc(36px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.lp-footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.lp-footer-logo { display: block; width: 104px; height: auto; }
.lp-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.lp-footer-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--muted); text-decoration: none; }
.lp-footer-links a:hover { color: var(--text); }

/* Dialog de acesso: o formulário existente, agora sobre a landing */
.auth-dialog .auth-card { width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.auth-dialog :is(input, select):focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.auth-dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
:root:has(#authDialog[open]) { overflow: hidden; }
@media (min-width: 600px) and (min-height: 700px) {
  .auth-dialog { inset: 0; margin: auto; }
}
@media (max-width: 360px) {
  .lp-title { font-size: 36px; }
}

/* ==========================================================================
   Landing: camada épica. Estado base = estado final; o movimento só existe
   com prefers-reduced-motion: no-preference, e o que depende de JS só com
   .lp-motion (adicionada pelo landing.js).
   ========================================================================== */
body:not(.is-authenticated) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.05'/%3E%3C/svg%3E"), radial-gradient(900px 520px at 12% -6%, rgba(255,79,109,.14), rgba(255,79,109,0) 70%); }
html:not(:has(body.is-authenticated)) { scroll-padding-top: calc(var(--lp-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
  html:not(:has(body.is-authenticated)) { scroll-behavior: smooth; }
}
/* Very short screens (landscape phones, 400% zoom): the header scrolls away instead of covering. */
@media (max-height: 499px) {
  .lp-header { position: absolute; }
  html:not(:has(body.is-authenticated)) { scroll-padding-top: 16px; }
}
/* In-page jumps focus their target; the section itself needs no focus ring. */
.lp [tabindex="-1"]:focus { outline: none; }
/* content-visibility only speeds up the first render: from idle (or the first in-page jump) on,
   every section stays rendered, so no height is an estimate and none is skipped again (landing.js). */
.lp-rendered :is(.lp-modules, .lp-band, #privacidade, #perguntas, .lp-final-wrap) { content-visibility: visible; }

/* Cena 1 — abertura */
.lp-line { overflow: clip; overflow-clip-margin: .2em; padding-bottom: .1em; margin-bottom: -.1em; }
.lp-aurora { transform-origin: 40% 50%; }
.lp-demo-answer { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .js .lp-demo:not(.is-directed) [data-step] { opacity: 0; animation: lp-failsafe .3s linear 2.5s forwards; }
}
@keyframes lp-failsafe { to { opacity: 1; } }
.lp-demo-thinking { position: absolute; top: 34px; left: 0; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 1.4; color: #e8c7d1; opacity: 0; pointer-events: none; }
.lp-dots { display: inline-flex; gap: 4px; align-items: center; height: 20px; }
.lp-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); opacity: .45; }
.lp-suggestion::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 1.5px rgba(255,123,109,.9), 0 0 28px 2px rgba(255,79,109,.45); opacity: 0; pointer-events: none; }
.lp-replay { position: absolute; right: 4px; bottom: -56px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--soft); font: 600 14px/1 "DM Sans", "DM Sans Fallback", system-ui, sans-serif; cursor: pointer; }
.lp-replay .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.lp-replay:hover { color: var(--text); background: rgba(255,255,255,.04); }
.lp-demo { --tilt-x: 0deg; --tilt-y: 0deg; --glare-x: 50%; --glare-y: 0%; transition: transform .5s var(--ease-out); }
.lp-demo.is-tilting, .lp-demo.is-settling { transform: perspective(1400px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.lp-demo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(520px circle at var(--glare-x) var(--glare-y), rgba(255,240,235,.07), transparent 45%); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out); }
.lp-demo.is-tilting { transition-duration: .12s; }
.lp-demo.is-tilting::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .lp-line > span { animation: lp-line-in .72s var(--ease-emphasis) both; }
  .lp-line:nth-child(2) > span { animation-delay: .08s; }
  .lp-line:nth-child(3) > span { animation-delay: .16s; }
  .lp-hero-copy > .lp-eyebrow, .lp-lead, .lp-hero-actions, .lp-hero-note, .lp-assurances { animation: lp-rise .7s var(--ease-out) both; }
  .lp-hero-copy > .lp-eyebrow { animation-duration: .5s; }
  .lp-lead { animation-delay: .32s; }
  .lp-hero-actions { animation-delay: .42s; }
  .lp-hero-note { animation-delay: .47s; }
  .lp-assurances { animation-delay: .52s; }
  .lp-aurora { animation: lp-breathe 2.4s var(--ease-in-out) 2 both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 680px) {
  /* On phones the offer and the actions appear with the first paint, not a second later. */
  .lp-lead, .lp-hero-actions, .lp-hero-note, .lp-assurances { animation: none; }
}
@keyframes lp-line-in { from { transform: translateY(104%); } to { transform: none; } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lp-breathe { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .72; transform: scale(1.06) translateX(-1.5%); } }

/* Cena 2 — como funciona: passos à esquerda, demonstração fixa à direita (≥ 1024 px e altura útil) */
.lp-how-stage { display: none; }
@media (min-width: 1024px) and (min-height: 640px) {
  .lp-how-layout { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .lp-how .lp-steps { position: relative; margin: 0; display: block; padding-left: 32px; }
  .lp-how .lp-steps::before, .lp-how .lp-steps::after { content: ""; position: absolute; left: 0; top: calc(min(56vh, 520px) / 2); bottom: calc(min(56vh, 520px) / 2); width: 2px; border-radius: 2px; background: rgba(255,255,255,.1); }
  .lp-how .lp-steps::after { background: linear-gradient(var(--accent), var(--accent-2)); transform: scaleY(var(--how-progress, 1)); transform-origin: top; }
  .lp-how .lp-step { position: relative; min-height: min(56vh, 520px); justify-content: center; padding: 0; background: none; border: 0; border-radius: 0; }
  .lp-how .lp-step::before { content: ""; position: absolute; left: -38px; top: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--bg-deep); border: 2px solid rgba(255,255,255,.22); transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), transform .45s var(--ease-emphasis); }
  .lp-how .lp-step.is-active::before, .lp-how .lp-step.is-passed::before { background: var(--accent-2); border-color: var(--accent-2); }
  .lp-how .lp-step.is-active::before { transform: scale(1.15); }
  .lp-how .lp-step-visual { display: none; }
  .lp-how .lp-step-copy { padding: 0; }
  .lp-how .lp-step h3 { font-size: clamp(26px, 2.4vw, 34px); }
  .lp-how .lp-step p { font-size: 18px; max-width: 30em; }
  .lp-how-stage { display: block; position: sticky; top: calc(50vh - 230px + var(--lp-header-h) / 2); }
  .lp-stage-card { position: relative; border-radius: 28px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(160deg, #201820 0%, #151014 58%); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); overflow: hidden; }
  .lp-stage-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .lp-stage-title { flex: 1; font: 700 17px/1.3 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; }
  .lp-stage-tag { font-size: 13px; color: var(--soft); }
  .lp-stage-screens { display: grid; padding: 22px; min-height: 360px; }
  .lp-stage-screen { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0; transform: translateY(14px) scale(.985); visibility: hidden; transition: opacity .45s var(--ease-out), transform .55s var(--ease-emphasis), visibility 0s .55s; }
  .lp-how-stage[data-step="1"] [data-screen-step="1"], .lp-how-stage[data-step="2"] [data-screen-step="2"], .lp-how-stage[data-step="3"] [data-screen-step="3"] { opacity: 1; transform: none; visibility: visible; transition-delay: .08s, .08s, 0s; }
  .lp-stage-prints { display: flex; gap: 10px; align-self: flex-end; }
  .lp-print { width: 74px; height: 96px; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: #2a2026; border: 1px solid rgba(255,255,255,.08); }
  .lp-print i { display: block; height: 8px; border-radius: 6px; background: rgba(231,199,208,.22); }
  .lp-print i:nth-child(2) { width: 70%; align-self: flex-end; background: rgba(255,123,109,.35); }
  .lp-print i:nth-child(3) { width: 55%; }
  .lp-stage-bubble { align-self: flex-end; max-width: 86%; padding: 13px 16px; background: var(--bubble); border: 1px solid rgba(255,170,187,.1); border-radius: 18px 18px 4px 18px; font-size: 15px; line-height: 1.5; }
  .lp-stage-verdict { font-size: 18px; font-weight: 700; line-height: 1.4; }
  .lp-stage-next { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
  .lp-stage-next b { color: var(--text); font-weight: 700; }
  .lp-motion .lp-how .lp-step-copy :is(h3, p) { opacity: .66; transition: opacity .45s var(--ease-out); }
  .lp-motion .lp-how .lp-step.is-active .lp-step-copy :is(h3, p) { opacity: 1; }
}

/* Revelação simples (celular e seções calmas) */
@media (prefers-reduced-motion: no-preference) {
  .lp-motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }
  /* Only the entrance is animated: hiding the off-screen cards at start-up is instant. */
  .lp-motion [data-reveal].is-in { transition: opacity .6s var(--ease-out), transform .7s var(--ease-emphasis); transition-delay: var(--reveal-delay, 0s); }
  .lp-motion .lp-privacy-item:nth-child(2) { --reveal-delay: .07s; }
  .lp-motion .lp-privacy-item:nth-child(3) { --reveal-delay: .14s; }
  .lp-motion .lp-privacy-item:nth-child(4) { --reveal-delay: .21s; }
  .lp-motion .lp-privacy-item:nth-child(5) { --reveal-delay: .28s; }
  .lp-motion .lp-privacy-item:nth-child(6) { --reveal-delay: .35s; }
  .lp-motion .lp-module:nth-child(2) { --reveal-delay: .06s; }
  .lp-motion .lp-module:nth-child(3) { --reveal-delay: .12s; }
  .lp-motion .lp-module:nth-child(4) { --reveal-delay: .18s; }
}

/* Cena 4 — princípio aceso palavra por palavra */
.lp-myth { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.lp-greek { font: 600 15px/1.2 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: .06em; color: var(--accent-2); }
.lp-principle { margin-top: 14px; overflow-wrap: break-word; }
.lp-principle-key { text-shadow: 0 0 28px rgba(255,123,109,.38); }
@keyframes lp-word-on { from { opacity: .4; } to { opacity: 1; } }
@keyframes lp-key-on { 0% { opacity: .4; color: var(--text); text-shadow: 0 0 0 rgba(255,123,109,0); } 45% { opacity: 1; color: var(--text); text-shadow: 0 0 0 rgba(255,123,109,0); } 100% { opacity: 1; color: var(--accent-2); text-shadow: 0 0 28px rgba(255,123,109,.38); } }
@media (prefers-reduced-motion: no-preference) {
  .lp-motion .lp-word { opacity: .4; transition: opacity .5s var(--ease-out); }
  .lp-motion .lp-principle-key { color: var(--text); text-shadow: none; transition: opacity .5s var(--ease-out), color .6s var(--ease-out), text-shadow .9s var(--ease-out); }
  .lp-motion .lp-principle.is-lit .lp-word { opacity: 1; }
  .lp-motion .lp-principle.is-lit .lp-principle-key { color: var(--accent-2); text-shadow: 0 0 28px rgba(255,123,109,.38); }
  .lp-motion .lp-principle.is-lit .lp-word:nth-child(2) { transition-delay: .14s; }
  .lp-motion .lp-principle.is-lit .lp-word:nth-child(3) { transition-delay: .28s; }
  .lp-motion .lp-principle.is-lit .lp-word:nth-child(4) { transition-delay: .42s; }
  .lp-motion .lp-principle.is-lit .lp-word:nth-child(5) { transition-delay: .56s, .9s, 1.1s; }
  @supports (animation-timeline: view()) {
    .lp-motion .lp-principle { view-timeline: --lp-principle block; }
    .lp-motion .lp-word { transition: none; animation: lp-word-on linear both; animation-timeline: --lp-principle; }
    .lp-motion .lp-word:nth-child(1) { animation-range: cover 16% cover 24%; }
    .lp-motion .lp-word:nth-child(2) { animation-range: cover 21% cover 29%; }
    .lp-motion .lp-word:nth-child(3) { animation-range: cover 26% cover 34%; }
    .lp-motion .lp-word:nth-child(4) { animation-range: cover 31% cover 37%; }
    .lp-motion .lp-principle-key { transition: none; animation: lp-key-on linear both; animation-timeline: --lp-principle; animation-range: cover 35% cover 50%; }
  }
}

/* Cena 5 — módulos: luz que segue o ponteiro na borda e ícone vivo */
.lp-module::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255,123,109,.75), rgba(255,79,109,.18) 45%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .35s var(--ease-out); pointer-events: none; }
.lp-module .lp-icon-tile .ui-icon { transition: transform .45s var(--ease-emphasis); }
@media (hover: hover) and (pointer: fine) {
  .lp-module:hover::before { opacity: 1; }
  .lp-module:hover .lp-icon-tile .ui-icon { transform: translateY(-2px) rotate(-8deg) scale(1.08); }
}

/* Cena 6 — privacidade: o cadeado fecha quando a seção entra */
.lp-shackle { transform-box: fill-box; transform-origin: 80% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .lp-motion .lp-privacy-item:not(.is-in) .lp-shackle { transform: translateY(-3px) rotate(-14deg); }
  .lp-motion .lp-shackle { transition: transform .5s cubic-bezier(.34,1.56,.64,1) .45s; }
}

/* Cena 7 — perguntas: altura animada e chevron girando */
.js .lp-faq-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .38s var(--ease-emphasis), visibility 0s .38s; }
.js .lp-faq-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .38s var(--ease-emphasis), visibility 0s; }
.js .lp-faq-panel > div { min-height: 0; overflow: hidden; }
.js .lp-faq-panel > div > p { opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease-out), transform .35s var(--ease-emphasis); }
.js .lp-faq-panel.is-open > div > p { opacity: 1; transform: none; transition-delay: .08s; }
.lp-faq-trigger .ui-icon { transition: transform .38s var(--ease-emphasis); }

/* Cena 8 — final: o símbolo se desenha e preenche; botão com brilho e ímã */
.lp-final-mark { display: block; width: 56px; height: auto; overflow: visible; }
.lp-mark-stroke { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .lp-motion .lp-final:not(.is-in) .lp-mark-fill { opacity: 0; }
  .lp-motion .lp-final:not(.is-in) .lp-mark-stroke { stroke-dashoffset: 1; opacity: 1; }
  .lp-motion .lp-final.is-in .lp-mark-stroke { animation: lp-draw 1.5s var(--ease-in-out) both; }
  .lp-motion .lp-final.is-in .lp-mark-fill { animation: lp-fill-in .6s var(--ease-out) 1.15s both; }
}
@keyframes lp-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes lp-fill-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lp-mark-fill { transform-box: fill-box; transform-origin: 50% 60%; }
.lp-button-primary { position: relative; overflow: hidden; isolation: isolate; }
.lp-button-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 66%); transform: translateX(-120%); pointer-events: none; }
.lp-magnetic { transition: transform .45s var(--ease-emphasis), box-shadow .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lp-button-primary:hover::after { transition: transform .75s var(--ease-in-out); transform: translateX(120%); }
  .lp-magnetic.is-pulled { transition-duration: .15s; }
}

/* Cena 10 — dialog: morph a partir do botão (View Transitions) ou fade */
::view-transition-group(lp-auth) { animation-duration: .48s; animation-timing-function: var(--ease-emphasis); overflow: clip; border-radius: 22px; }
::view-transition-old(lp-auth), ::view-transition-new(lp-auth) { height: 100%; object-fit: cover; object-position: top center; animation-duration: .3s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
@media (prefers-reduced-motion: no-preference) {
  .auth-dialog[open]:not(.is-morphing) { animation: lp-dialog-in .24s var(--ease-out); }
  .auth-dialog[open]:not(.is-morphing)::backdrop { animation: lp-fade .24s var(--ease-out); }
}
@keyframes lp-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }

/* Telas estreitas: o topo cabe numa linha */
@media (max-width: 379px) {
  :root { --lp-gutter: 16px; }
  .lp-logo { width: 96px; }
  .lp-button-small { padding: 0 12px; font-size: 14px; }
  .lp-button-accent.lp-button-small { padding: 0 12px; }
  .lp-header-actions { gap: 6px; }
}

/* Abaixo da dobra: o navegador pula o trabalho até chegar perto */
.lp-modules, .lp-band, #privacidade, #perguntas, .lp-final-wrap { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Cena 3 — Radar ao vivo: os 7 sinais reais do app, nada é salvo */
@property --radar-color { syntax: "<color>"; inherits: true; initial-value: #ff7b6d; }
.lp-radar-layout { margin-top: clamp(36px, 4vw, 56px); display: grid; gap: 20px; }
.lp-signals { display: grid; gap: 10px; }
.lp-signal { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 14px; align-items: center; min-height: 64px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: var(--panel); color: var(--text); text-align: left; cursor: pointer; transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out), transform .2s var(--ease-out); }
.lp-signal:hover { border-color: rgba(255,255,255,.16); }
.lp-signal:active { transform: scale(.99); }
.lp-signal::after { content: ""; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); background: center / 14px no-repeat; transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out); }
.lp-signal-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(118,215,165,.1); color: var(--good); }
.lp-signal-icon .ui-icon { width: 20px; height: 20px; flex-basis: 20px; }
.lp-signal[data-weight^="-"] .lp-signal-icon { background: rgba(255,122,122,.1); color: var(--bad); }
.lp-signal-text { min-width: 0; }
.lp-signal-text strong { display: block; font: 700 16px/1.35 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; }
.lp-signal-text small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.lp-signal[aria-pressed="true"] { border-color: rgba(118,215,165,.45); background: rgba(118,215,165,.07); }
.lp-signal[aria-pressed="true"]::after { border-color: var(--good); background-color: var(--good); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23130f12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E"); }
.lp-signal[aria-pressed="true"][data-weight^="-"] { border-color: rgba(255,122,122,.42); background: rgba(255,122,122,.07); }
.lp-signal[aria-pressed="true"][data-weight^="-"]::after { border-color: var(--bad); background-color: var(--bad); }
.lp-signal[aria-pressed="true"][data-weight="-3"] { border-color: rgba(169,193,217,.5); background: rgba(169,193,217,.08); }
.lp-signal[aria-pressed="true"][data-weight="-3"]::after { border-color: var(--cool); background-color: var(--cool); }
.lp-signal[aria-pressed="true"][data-weight="-3"] .lp-signal-icon { background: rgba(169,193,217,.12); color: var(--cool); }

.lp-radar-stage { display: grid; gap: 20px; align-content: start; }
.lp-radar { --radar-color: #ff7b6d; position: relative; width: min(100%, 340px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; container-type: size; isolation: isolate; transition: --radar-color 1.1s var(--ease-in-out); }
.lp-radar[data-tone="boundary"] { --radar-color: #93b1cc; }
.lp-radar-grid { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--radar-color) 45%, transparent); background:
  linear-gradient(color-mix(in srgb, var(--radar-color) 16%, transparent), color-mix(in srgb, var(--radar-color) 16%, transparent)) center / 1px 100% no-repeat,
  linear-gradient(color-mix(in srgb, var(--radar-color) 16%, transparent), color-mix(in srgb, var(--radar-color) 16%, transparent)) center / 100% 1px no-repeat,
  repeating-radial-gradient(circle closest-side, transparent 0 32.4%, color-mix(in srgb, var(--radar-color) 24%, transparent) 32.4% 33.33%),
  radial-gradient(circle closest-side, color-mix(in srgb, var(--radar-color) 12%, transparent), transparent); }
.lp-radar::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--radar-color) 50%, transparent); opacity: 0; transform: scale(.94); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-emphasis); pointer-events: none; }
.lp-radar[data-tone="boundary"]::after { opacity: 1; transform: none; }
.lp-radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 72%, color-mix(in srgb, var(--radar-color) 8%, transparent) 82%, color-mix(in srgb, var(--radar-color) 42%, transparent) 99.4%, var(--radar-color) 99.5% 100%); opacity: 0; transition: opacity .6s var(--ease-out); }
.lp-radar[data-sweep="on"] .lp-radar-sweep { opacity: 1; }
.lp-radar-dots i { --a: 0deg; --r: .6; --dot: var(--good); position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--dot); color: var(--dot); box-shadow: 0 0 14px color-mix(in srgb, var(--dot) 60%, transparent); transform: rotate(var(--a)) translateY(calc(var(--r) * -50cqw)) rotate(calc(-1 * var(--a))) scale(0); transition: transform .55s var(--ease-emphasis), background-color 1.1s var(--ease-in-out), box-shadow 1.1s var(--ease-in-out); }
.lp-radar-dots i.is-on { transform: rotate(var(--a)) translateY(calc(var(--r) * -50cqw)) rotate(calc(-1 * var(--a))) scale(1); }
.lp-radar-dots i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; }
.lp-radar-dots i:nth-child(1) { --a: -52deg; --r: .66; }
.lp-radar-dots i:nth-child(2) { --a: -14deg; --r: .42; }
.lp-radar-dots i:nth-child(3) { --a: 26deg; --r: .74; }
.lp-radar-dots i:nth-child(4) { --a: 62deg; --r: .5; }
.lp-radar-dots i:nth-child(5) { --a: 128deg; --r: .56; --dot: var(--bad); }
.lp-radar-dots i:nth-child(6) { --a: 176deg; --r: .76; --dot: var(--bad); }
.lp-radar-dots i:nth-child(7) { --a: 226deg; --r: .62; --dot: var(--bad); }
.lp-radar[data-tone="boundary"] .lp-radar-dots i { --dot: var(--cool); }
.lp-radar-core { position: absolute; inset: 0; margin: auto; width: 34%; height: 34%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: rgba(13,10,12,.88); border: 1px solid color-mix(in srgb, var(--radar-color) 40%, transparent); }
.lp-radar-core b { font: 800 clamp(22px, 11cqw, 36px)/1 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; }
.lp-radar-core small { margin-top: 2px; font-size: 13px; color: var(--muted); }
@container (max-width: 180px) { .lp-radar-core small { display: none; } }
.lp-radar-reading { padding: 20px 22px 22px; border-radius: 20px; background: var(--panel); border: 1px solid rgba(255,255,255,.08); transition: border-color 1.1s var(--ease-in-out); }
.lp-radar-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.lp-radar-title { margin-top: 6px; font: 800 clamp(20px, 2vw, 24px)/1.25 Manrope, "Manrope Fallback", "DM Sans", "DM Sans Fallback", system-ui, sans-serif; letter-spacing: -.02em; transition: color 1.1s var(--ease-in-out); }
.lp-radar-copy { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.lp-radar-reading[data-tone="reciprocity"] .lp-radar-title { color: var(--good); }
.lp-radar-reading[data-tone="possible"] .lp-radar-title { color: var(--accent-2); }
.lp-radar-reading[data-tone="mixed"] .lp-radar-title { color: var(--warn); }
.lp-radar-reading[data-tone="retreat"] .lp-radar-title { color: #ffa99c; }
.lp-radar-reading[data-tone="boundary"] { border-color: rgba(169,193,217,.3); }
.lp-radar-reading[data-tone="boundary"] .lp-radar-title { color: var(--cool); }
@media (prefers-reduced-motion: no-preference) {
  .lp-radar-sweep { animation: lp-sweep 3.2s linear infinite paused; }
  .lp-radar[data-sweep="on"]:not([data-paused]) .lp-radar-sweep { animation-play-state: running; }
  .lp-radar-dots i.is-on::after { animation: lp-ping .9s var(--ease-out) .1s both; }
}
@media (prefers-reduced-motion: reduce) { .lp-radar-sweep { display: none; } }
@keyframes lp-sweep { to { transform: rotate(1turn); } }
@keyframes lp-ping { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(2.3); } }
@media (min-width: 900px) {
  .lp-radar-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
}
@media (min-width: 900px) and (min-height: 700px) {
  .lp-radar-stage { position: sticky; top: calc(var(--lp-header-h) + 16px); }
}
@media (max-width: 899px) and (min-height: 600px) {
  .lp-radar-stage { position: sticky; top: calc(var(--lp-header-h) - 8px); z-index: 3; }
}
@media (max-width: 899px) {
  .lp-radar-stage { order: -1; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 22px; background: rgba(23,18,22,.94); border: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -22px #000; }
  .lp-radar { width: 104px; }
  .lp-radar::after { inset: -6px; }
  .lp-radar-dots i { width: 8px; height: 8px; margin: -4px; }
  .lp-radar-reading { padding: 0; border: 0; background: none; }
  .lp-radar-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lp-radar-title { margin-top: 0; font-size: 18px; }
  .lp-radar-copy { margin-top: 4px; font-size: 14px; line-height: 1.5; }
}

/* Exemplos fictícios da home (#exemplo, demo.js): três situações, sem conta e sem chamada de IA. */
.lp-example-body { margin-top: clamp(32px, 4vw, 48px); max-width: 920px; }
.lp-example-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; }
.lp-example-tab { flex: 0 0 auto; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted); font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.lp-example-tab:hover { color: var(--text); }
.lp-example-tab[aria-selected="true"] { background: var(--accent-soft); border-color: rgba(255,123,109,.5); color: var(--text); }
:is(.lp-example-tab, .lp-example-choice, .lp-example-panel, .lp-example-update, .lp-example-cta a):focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.lp-example-panel { margin-top: 12px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(255,79,109,.07), var(--panel) 55%); display: grid; gap: 20px; }
.lp-example-tag { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.lp-example-chat { display: grid; gap: 8px; }
.lp-example-msg { justify-self: start; max-width: 34em; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--panel-3); color: var(--text); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.lp-example-msg.is-mine { justify-self: end; border-radius: 16px 16px 4px 16px; background: rgba(255,79,109,.16); }
.lp-example-msg span { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 700; color: var(--soft); }
.lp-example-reading { display: grid; gap: 14px; margin: 0; }
.lp-example-reading dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.lp-example-reading dd { margin: 4px 0 0; color: var(--text-3); line-height: 1.6; }
.lp-example-reading ul { margin: 0; padding-left: 20px; list-style: disc; }
.lp-example-reading li + li { margin-top: 4px; }
.lp-example-question { color: var(--text); font-weight: 700; }
.lp-example-choices { display: grid; gap: 8px; margin: -8px 0 0; padding: 0; list-style: none; }
.lp-example-choice { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel-2); color: var(--text); font: inherit; font-size: 16px; line-height: 1.45; text-align: left; cursor: pointer; }
.lp-example-choice:hover, .lp-example-choice[aria-expanded="true"] { border-color: var(--accent-2); }
.lp-example-effect { margin: 8px 4px 4px; color: var(--muted); line-height: 1.6; }
.lp-example-effect.is-advised strong { color: var(--accent-2); }
.lp-example-next { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: var(--panel-sunken); }
:is(.lp-example-next, .lp-example-case) p { margin: 0; color: var(--text-3); line-height: 1.6; }
:is(.lp-example-next, .lp-example-case) strong { color: var(--text); }
.lp-example-lead { color: var(--text-3); line-height: 1.6; }
.lp-example-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lp-example-case { display: grid; align-content: start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-2); }
.lp-example-case h3 { margin: 0; font-size: 16px; line-height: 1.4; }
.lp-example-case .lp-example-msg { font-size: 15px; }
.lp-example-update { justify-self: start; min-height: 48px; font-size: 16px; }
.lp-example-revision { display: grid; gap: 16px; }
.lp-example-suggestion { padding: 14px 16px; border-radius: 16px; background: #fff7f2; color: #30212a; line-height: 1.5; }
.lp-example-suggestion span { display: block; font-size: 13px; font-weight: 700; color: #6d4b59; }
.lp-example-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.lp-example-cta p { flex: 1 1 280px; margin: 0; color: var(--soft); font-size: 14px; line-height: 1.6; }
.lp-example-cta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-2); text-underline-offset: 3px; }
@media (max-width: 760px) { .lp-example-cases { grid-template-columns: minmax(0, 1fr); } }

/* Página /privacidade (privacidade.html): texto longo, sem JS. */
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; text-decoration: none; }
.legal-back:hover { color: var(--text); }
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 64px; }
.legal h1 { margin: 8px 0 12px; font-family: "Manrope", "Manrope Fallback", system-ui, sans-serif; font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.legal h2 { margin: 40px 0 12px; font-family: "Manrope", "Manrope Fallback", system-ui, sans-serif; font-size: 21px; line-height: 1.3; }
.legal p, .legal li { color: var(--text-3); font-size: 16px; line-height: 1.65; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--text); }
.legal a, .legal-operator a { color: var(--accent-2); text-underline-offset: 3px; }
.legal :is(a, [tabindex="0"]):focus-visible, .legal-body .lp-footer a:focus-visible, .legal-back:focus-visible, .legal-header .lp-logo-link:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.legal-version { color: var(--soft); font-size: 14px; }
.legal-table { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line-2); border-radius: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal :is(th, td) { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--text-3); }
.legal th { color: var(--text); font-weight: 700; background: var(--panel); }
.legal tr:last-child td { border-bottom: 0; }
/* Páginas públicas (como funciona, planos, método, guias): o texto de .legal, sem JS. */
.pub-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 20px; }
.pub-nav a:not(.lp-button) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--muted); font-size: 15px; text-decoration: none; }
.pub-nav a:not(.lp-button):hover, .pub-nav a[aria-current="page"] { color: var(--text); }
.pub-nav a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 560px) { .pub-nav a:not(.lp-button) { display: none; } }
.legal a.lp-button { color: var(--ink-on-accent); text-decoration: none; }
.legal .pub-answer { margin: 24px 0 8px; padding: 18px 20px; border: 1px solid rgba(255,123,109,.28); border-radius: 18px; background: var(--accent-soft); }
.legal .pub-answer h2 { margin: 0 0 8px; font-size: 18px; }
.legal .pub-answer p:last-child, .legal .pub-example p:last-child, .legal .pub-cta p:last-child { margin-bottom: 0; }
.legal h3 { margin: 24px 0 8px; font-size: 17px; line-height: 1.4; }
.legal .pub-example { display: grid; gap: 12px; margin: 16px 0 20px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.legal .pub-example h3 { margin: 0; }
.legal .pub-example .lp-example-tag { margin: 0; }
.legal .lp-example-msg { margin: 0; color: var(--text); }
.legal .pub-example .lp-example-suggestion { margin: 0; color: #30212a; }
.legal .pub-cta { display: grid; justify-items: start; gap: 12px; margin-top: 48px; padding: 24px; border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(160deg, rgba(255,79,109,.1), var(--panel) 60%); }
.legal .pub-cta h2 { margin: 0; }
.legal .pub-cta p { margin: 0; }
.legal-body .lp-footer-links { gap: 0 20px; }
.legal-operator { margin: 0; flex-basis: 100%; color: var(--soft); font-size: 14px; line-height: 1.5; }
.legal-todo { padding: 0 4px; border-radius: 4px; background: var(--warn); color: var(--ink-on-accent); }
.privacy-copy a { color: var(--accent-2); text-underline-offset: 3px; }
.privacy-copy p:last-child a { display: inline-flex; align-items: center; min-height: 44px; }
.privacy-copy a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
.legal-operator a { display: inline-flex; align-items: center; min-height: 44px; }
.privacy-card > p a { color: var(--accent-2); text-underline-offset: 3px; }
.privacy-card a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.privacy-actions a.secondary-button { display: grid; place-items: center; min-height: 44px; text-align: center; text-decoration: none; }
.privacy-card > .privacy-note { margin-top: 12px; }
.privacy-card > .legal-operator { margin-top: 12px; font-size: 13px; }
/* Autorizações (consents.js): cadastro, aviso de autorização, aba Você e revogação. */
.consent-fields { display: grid; gap: 12px; }
.consent-field { display: grid; gap: 6px; }
.consent-field.is-highlighted { padding: 12px; border: 1px solid rgba(255,123,109,.28); border-radius: 13px; background: var(--accent-soft); }
.consent-title { color: var(--text); font-size: 14px; }
.consent-field small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.consent-check a, .dialog-note a { color: var(--accent-2); text-underline-offset: 3px; }
.dialog-note a { display: inline-flex; align-items: center; min-height: 44px; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dialog-actions-stack { grid-template-columns: 1fr; }
.consent-heading { margin: 16px 0 6px; font: 800 14px/1.3 "Manrope", "Manrope Fallback"; }
.consent-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.consent-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.consent-row p strong { color: var(--text); }
.consent-row button { flex: none; min-height: 44px; padding: 0 14px; }

/* Accessible verification and AI limitations, with the existing Anteros palette. */
.free-captcha { min-height: 65px; max-width: 100%; overflow: hidden; }
.ai-limit-notice { color: var(--muted, #b9adb4); font-size: .8125rem; line-height: 1.6; margin: 1rem 0 0; }
#freeEligibilityCard .secondary-button { margin-block: .5rem; }

/* Funnel measurement (funnel.js), shown only while it is on: "Isso ajudou?" under the latest answer and the optional "como conheceu" card in Você. */
.answer-feedback { max-width: 94%; margin: -8px 0 22px; }
.feedback-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feedback-question { margin-right: 4px; color: var(--muted); font-size: 14px; }
.feedback-button { min-height: 44px; padding: 8px 16px; }
.feedback-done { margin: 0; padding: 12px 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.heard-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.heard-options .secondary-button { min-height: 44px; }

/* Cadastro mais curto (landing.js alterna .is-signup-mode pelas abas Entrar/Criar conta): some
   só o que não é texto legal. Os checkboxes de consentimento, termsHelp e os links de privacidade
   e termos continuam exatamente como são, sempre visíveis. */
#authDialog.is-signup-mode .eyebrow,
#authDialog.is-signup-mode #authCopy,
#authDialog.is-signup-mode .auth-footnote { display: none; }
#authDialog.is-signup-mode .auth-logo { margin-bottom: 14px; }
#authDialog.is-signup-mode .auth-card h2 { margin: 0 0 12px; }
#authDialog.is-signup-mode .auth-tabs { margin: 0 0 14px; }
#authDialog.is-signup-mode .auth-form { gap: 10px; }
#authDialog.is-signup-mode .signup-requirements { padding: 10px; gap: 7px; }

/* Resposta pronta no celular: reaparece, compacta, a mesma mensagem sugerida do #heroDemo (mais
   abaixo), para quem não rola a página. Some acima de 480px, onde o próprio #heroDemo já é visível. */
.lp-hero-ready { display: none; }
@media (max-width: 480px) {
  .lp-title { margin-top: 14px; }
  .lp-lead { margin-top: 10px; }
  .lp-hero-actions { margin-top: 14px; gap: 8px; }
  .lp-hero-ready {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
  }
  .lp-hero-ready .lp-example-tag { margin: 0 0 6px; }
  .lp-hero-ready-received { margin: 0 0 6px; font-size: 13.5px; line-height: 1.35; color: var(--text); }
  .lp-hero-ready-text { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--text); }
  .lp-hero-ready-badge { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .lp-hero-ready-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
  .lp-hero-note { margin-top: 8px; }
}
