/*
 * Landing pública na marca v2 (18/10/2026, docs/analises/2026-10-18-landing-analise.md).
 *
 * Folha Nova: nenhuma cor fixa — tudo pelos tokens de ordi_nova.css, então a
 * página acompanha o tema claro/escuro do aparelho (gate:
 * test/architecture/nova_theme_tokens_gate_test.rb). Outfit nos títulos,
 * Lexend no texto em 17 px (público inclui pessoas mais velhas), alvos de
 * toque ≥ 44 px, foco visível e nenhuma animação contínua; o pouco que se
 * move para com "reduzir movimento".
 */

.ld-body { margin: 0; background: var(--n-bg); }
.nova.ld { font-size: 17px; line-height: 1.6; }
.nova.ld *, .nova.ld *::before, .nova.ld *::after { box-sizing: border-box; }
.nova.ld :focus-visible { outline: 3px solid var(--n-focus); outline-offset: 3px; border-radius: 10px; }
/* Resets com :where() (especificidade zero): as classes .ld-* das seções
   ganham sem precisar de !important. */
:where(.nova.ld h1, .nova.ld h2, .nova.ld h3) { font-family: "Outfit", system-ui, sans-serif; color: var(--n-strong); margin: 0; text-wrap: balance; }
:where(.nova.ld p) { margin: 0; text-wrap: pretty; }
:where(.nova.ld ul, .nova.ld ol) { margin: 0; padding: 0; list-style: none; }

.ld-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.ld-wrap--narrow { max-width: 760px; }
@media (min-width: 768px) { .ld-wrap { padding: 0 32px; } }

a.ld-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--n-inverse); color: var(--n-on-inverse); font-weight: 700; }
a.ld-skip:focus { top: 12px; }

.ld-preview { position: sticky; top: 0; z-index: 60; padding: 10px 16px; text-align: center; font-size: 15px; background: rgb(var(--n-amber-rgb) / .18); color: var(--n-strong); border-bottom: 1px solid var(--n-border-amber); }

/* ── Navegação ── */
.ld-nav { position: sticky; top: 0; z-index: 50; background: var(--n-nav); border-bottom: 1px solid var(--n-border-soft); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ld-preview + .ld-nav { top: 44px; }
.ld-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
a.ld-brand { display: inline-flex; color: var(--n-text); }
.ld-brand .ordi-logo-word { color: var(--n-text); }
.ld-nav-links { display: none; gap: 28px; }
.ld-nav-links a { color: var(--n-soft); font-size: 16px; font-weight: 500; }
.ld-nav-links a:hover { color: var(--n-strong); }
.ld-nav-cta { display: flex; align-items: center; gap: 14px; }
a.ld-link-login { color: var(--n-soft); font-weight: 600; font-size: 16px; padding: 10px 2px; }
.nova.ld .ld-btn-sm { height: 44px; font-size: 15px; padding: 0 16px; }
@media (max-width: 420px) { .nova.ld .ld-nav-cta .ld-btn-sm { display: none; } }
@media (min-width: 900px) { .ld-nav-links { display: flex; } }

/* ── Botões ── */
.nova.ld .btn { transition: background .2s ease, color .2s ease, border-color .2s ease; }
.nova.ld .btn .i { width: 20px; height: 20px; }
/* Os links da landing herdam --n-cyan; nos botões a cor é a do botão. */
.nova.ld a.btn-p { color: var(--n-on-inverse); }
.nova.ld a.btn-p:hover, .nova.ld a.btn-p:active { color: var(--n-on-cyan); }
.nova.ld a.btn-g { color: var(--n-body); }
.nova.ld a.btn-g:hover { border-color: var(--n-cyan); color: var(--n-strong); }
.nova.ld .ld-btn-lg { height: 56px; padding: 0 24px; font-size: 17px; border-radius: 16px; width: 100%; }
.nova.ld .ld-btn-block { width: 100%; height: 52px; font-size: 16px; border-radius: 14px; }
@media (min-width: 560px) { .nova.ld .ld-btn-lg { width: auto; } }

/* ── Hero ── */
.ld-hero { position: relative; overflow: hidden; padding: 40px 0 56px; }
.ld-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 360px at 85% -80px, rgb(var(--n-cyan-rgb) / calc(.22 * var(--n-glow-k))), transparent 70%),
    radial-gradient(420px 320px at -60px 260px, rgb(var(--n-purple-rgb) / calc(.14 * var(--n-glow-k))), transparent 70%); }
.ld-hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.ld-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--n-cyan-soft); margin-bottom: 16px; }
.ld-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--n-sun); flex-shrink: 0; }
.nova.ld .ld-h1 { font-size: clamp(36px, 9vw, 60px); line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; }
.ld-lead { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--n-soft); max-width: 36em; }
.ld-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.ld-ctas--center { align-items: center; }
@media (min-width: 560px) { .ld-ctas { flex-direction: row; flex-wrap: wrap; } .ld-ctas--center { justify-content: center; } }
.ld-trust-line { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; color: var(--n-muted); }
.ld-trust-line .i { width: 18px; height: 18px; color: var(--n-green-deep); }
.ld-final .ld-trust-line { justify-content: center; }
@media (min-width: 960px) {
  .ld-hero { padding: 72px 0 88px; }
  .ld-hero-grid { grid-template-columns: 1.25fr .75fr; gap: 56px; }
}

/* ── Conversa de exemplo ── */
.ld-chat { margin: 0; background: var(--n-card); border: 1px solid var(--n-border-soft); border-radius: 28px; box-shadow: var(--n-shadow-float); overflow: hidden; }
.ld-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--n-hairline); }
.ld-chat-head strong { display: block; font-size: 16px; color: var(--n-strong); }
.ld-chat-head small { display: block; font-size: 13.5px; color: var(--n-muted); }
.ld-chat-log { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 300px; }
.ld-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 16px; line-height: 1.45; }
.ld-msg .i { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; color: var(--n-cyan); }
.ld-msg--me { align-self: flex-end; margin-left: auto; background: var(--n-bubble-me); border: 1px solid var(--n-bubble-me-border); color: var(--n-strong); border-bottom-right-radius: 6px; }
.ld-msg--ordi { align-self: flex-start; background: var(--n-sunken); border: 1px solid var(--n-border-soft); color: var(--n-body); border-bottom-left-radius: 6px; }
/* Com JS e sem "reduzir movimento", as mensagens entram em sequência. */
.ld-chat--anim .ld-msg { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.ld-chat--anim .ld-msg.is-in { opacity: 1; transform: none; }

/* ── Seções ── */
.ld-section { padding: 64px 0; scroll-margin-top: 72px; }
.ld-section--alt { background: var(--n-bg-deep); }
.nova.ld .ld-h2 { font-size: clamp(28px, 6vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
.ld-section-lead { margin-top: 12px; font-size: 18px; color: var(--n-soft); max-width: 40em; }
@media (min-width: 768px) { .ld-section { padding: 96px 0; } }

/* Como funciona */
.ld-steps { display: grid; gap: 16px; margin-top: 32px; counter-reset: passo; }
.ld-step { background: var(--n-card); border: 1px solid var(--n-border-soft); box-shadow: var(--n-shadow-card); border-radius: 24px; padding: 24px; }
.ld-step-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--n-inverse); color: var(--n-on-inverse); font-family: "Outfit", sans-serif; font-weight: 600; font-size: 20px; margin-bottom: 14px; }
.nova.ld .ld-step h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.ld-step p { color: var(--n-soft); }
@media (min-width: 768px) { .ld-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Casos por área */
.ld-cases { display: grid; gap: 16px; margin-top: 32px; }
.ld-case { display: flex; flex-direction: column; gap: 12px; background: var(--n-card); border: 1px solid var(--n-border-soft); box-shadow: var(--n-shadow-card); border-radius: 24px; padding: 22px; }
.ld-case-head { display: flex; align-items: center; gap: 12px; }
.ld-case-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgb(var(--n-cyan-rgb) / .12); color: var(--n-cyan); flex-shrink: 0; }
.ld-case-icon .i { width: 22px; height: 22px; }
.nova.ld .ld-case h3 { font-size: 20px; font-weight: 600; }
.ld-case > p { color: var(--n-soft); }
.ld-case-demo { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 6px; }
.ld-case-demo .ld-msg { font-size: 15.5px; max-width: 92%; }
@media (min-width: 680px) { .ld-cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ld-cases { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Voz com o Di */
.ld-voice { display: grid; gap: 32px; align-items: center; }
.ld-voice-di { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 16px; border-radius: 32px; background: radial-gradient(closest-side, var(--n-voz-core), transparent); }
.ld-voice-di .di { width: 168px; height: 168px; }
.ld-voice-state { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted); min-height: 1.6em; }
.ld-voice-demo { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; max-width: 30em; }
@media (min-width: 860px) { .ld-voice { grid-template-columns: .8fr 1.2fr; gap: 56px; } }

/* Seus dados */
.ld-trust { display: grid; gap: 14px; margin-top: 32px; }
.ld-trust li { display: flex; gap: 14px; align-items: flex-start; background: var(--n-card); border: 1px solid var(--n-border-soft); box-shadow: var(--n-shadow-card); border-radius: 20px; padding: 20px; }
.ld-trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgb(var(--n-green-rgb) / .14); color: var(--n-green-deep); flex-shrink: 0; }
.nova.ld .ld-trust h3 { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.ld-trust p { color: var(--n-soft); font-size: 16px; }
.ld-trust-links { margin-top: 24px; font-size: 16px; color: var(--n-muted); }
.ld-trust-links a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 680px) { .ld-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ld-trust { grid-template-columns: repeat(3, 1fr); } }

/* Prova social (só com dado real do admin) */
.ld-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 32px 0 0; }
.ld-numbers div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 20px; border-radius: 20px; background: var(--n-card); border: 1px solid var(--n-border-soft); }
.ld-numbers dd { margin: 0; font-family: "Outfit", sans-serif; font-size: 36px; font-weight: 600; color: var(--n-strong); }
.ld-numbers dt { color: var(--n-soft); font-size: 16px; }
.ld-quotes { display: grid; gap: 16px; margin-top: 32px; }
.ld-quotes li { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 24px; background: var(--n-card); border: 1px solid var(--n-border-soft); box-shadow: var(--n-shadow-card); }
.ld-quotes blockquote { margin: 0; font-size: 17px; color: var(--n-body); }
.ld-quote-who { display: flex; align-items: center; gap: 12px; }
.ld-quote-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ld-quote-who strong { display: block; color: var(--n-strong); }
.ld-quote-who small { display: block; color: var(--n-muted); font-size: 14.5px; }
.ld-press { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 32px; }
.ld-press img { height: 32px; width: auto; }
@media (min-width: 768px) { .ld-quotes { grid-template-columns: repeat(3, 1fr); } }

/* Planos */
.ld-pricing { margin-top: 32px; }
.ld-period { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 16px; background: var(--n-sunken); border: 1px solid var(--n-border-soft); }
.ld-period label { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 16px; color: var(--n-muted); cursor: pointer; }
#ld-mensal:checked ~ .ld-period label[for="ld-mensal"],
#ld-anual:checked ~ .ld-period label[for="ld-anual"] { background: var(--n-selected); color: var(--n-strong); box-shadow: var(--n-shadow-card); }
#ld-mensal:focus-visible ~ .ld-period label[for="ld-mensal"],
#ld-anual:focus-visible ~ .ld-period label[for="ld-anual"] { outline: 3px solid var(--n-focus); outline-offset: 2px; }
.ld-price--yearly { display: none; }
#ld-anual:checked ~ .ld-plans .ld-price--yearly { display: flex; }
#ld-anual:checked ~ .ld-plans .ld-plan:has(.ld-price--yearly) .ld-price--monthly { display: none; }
.ld-plans { display: grid; gap: 16px; }
.ld-plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border-radius: 28px; background: var(--n-card); border: 1px solid var(--n-border-soft); box-shadow: var(--n-shadow-card); }
.ld-plan--hl { border: 2px solid var(--n-cyan); box-shadow: var(--n-shadow-float); }
.ld-plan-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgb(var(--n-cyan-rgb) / .12); color: var(--n-cyan-soft); font-size: 14px; font-weight: 700; }
.nova.ld .ld-plan h3 { font-size: 24px; font-weight: 600; }
.ld-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.ld-price strong { font-family: "Outfit", sans-serif; font-size: 40px; font-weight: 600; color: var(--n-strong); line-height: 1.1; }
.ld-price span { color: var(--n-muted); }
.ld-price s { color: var(--n-muted); font-size: 18px; }
.ld-price small { flex-basis: 100%; color: var(--n-soft); font-size: 15px; }
.ld-save { font-style: normal; font-size: 14px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgb(var(--n-green-rgb) / .14); color: var(--n-green-deep); }
.ld-plan ul { display: grid; gap: 10px; flex: 1; }
.ld-plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--n-body); font-size: 16px; }
.ld-plan li .i { width: 20px; height: 20px; margin-top: 2px; color: var(--n-green-deep); }
.ld-plans-note, .ld-plans-free { margin-top: 20px; color: var(--n-soft); font-size: 16px; max-width: 46em; }
.ld-plans-free a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .ld-plans { grid-template-columns: repeat(2, 1fr); max-width: 860px; gap: 20px; } }

/* Dúvidas */
.ld-faq { display: grid; gap: 10px; margin-top: 28px; }
.ld-faq details { border-radius: 18px; background: var(--n-card); border: 1px solid var(--n-border-soft); }
.ld-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; color: var(--n-strong); }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary .i { color: var(--n-muted); transition: transform .2s ease; }
.ld-faq details[open] summary .i { transform: rotate(180deg); }
.ld-faq details p { padding: 0 20px 18px; color: var(--n-soft); }
.ld-faq-more { margin-top: 20px; color: var(--n-muted); font-size: 16px; }

/* CTA final */
.ld-final { text-align: center; }
.ld-final .ld-section-lead { margin-left: auto; margin-right: auto; }

/* Rodapé */
.ld-footer { border-top: 1px solid var(--n-border-soft); background: var(--n-bg); padding: 48px 0 32px; }
.ld-footer-grid { display: grid; gap: 28px; }
.ld-footer-brand p { margin-top: 10px; color: var(--n-muted); font-size: 15px; }
.ld-company { font-size: 14px; }
.nova.ld .ld-footer h2 { font-family: "Lexend", sans-serif; font-size: 15px; font-weight: 700; color: var(--n-strong); margin-bottom: 10px; }
.ld-footer ul { display: grid; gap: 4px; }
.ld-footer li a { display: inline-block; padding: 6px 0; color: var(--n-soft); font-size: 15px; }
.ld-footer li a:hover { color: var(--n-strong); }
.ld-footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--n-border-soft); color: var(--n-muted); font-size: 14px; }
@media (min-width: 768px) { .ld-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

@media (prefers-reduced-motion: reduce) {
  .nova.ld *, .nova.ld *::before, .nova.ld *::after { transition: none; animation: none; }
}
