/* Landing publica e contratacao do GDV Cardapio. Independente do app.css (nao altera telas internas). Sem fontes externas (CSP 'self'). */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #1c1a17;
  --muted: #5b554d;
  --line: #e4dccf;
  --accent: #1d5a43;
  --accent-strong: #154634;
  --accent-ink: #ffffff;
  --accent-soft: #e5efe9;
  --warm: #9a5b0e;
  --warm-soft: #f6ead6;
  --danger: #a3271f;
  --danger-soft: #fbe9e7;
  --shadow: 0 1px 2px rgba(28, 26, 23, .06), 0 12px 32px rgba(28, 26, 23, .08);
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.lp { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }
.lp img, .lp svg { max-width: 100%; }
.lp a { color: var(--accent); text-underline-offset: 3px; }
.lp a:hover { color: var(--accent-strong); }
.lp :focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; border-radius: 6px; }
.lp-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.lp-skip:focus { left: 8px; color: #fff; }
.lp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lp h1, .lp h2, .lp h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
.lp h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 750; }
.lp h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 720; }
.lp h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -0.01em; }
.lp p { margin: 0 0 1em; }
.lp-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--warm); margin-bottom: .75rem; }
.lp-lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.lp-section { padding: 84px 0; }
.lp-section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.lp-section-head { max-width: 720px; margin-bottom: 40px; }

/* botoes */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.lp-btn-primary { background: var(--accent); color: var(--accent-ink) !important; }
.lp-btn-primary:hover { background: var(--accent-strong); }
.lp-btn-ghost { background: transparent; color: var(--ink) !important; border-color: #b9ae9b; }
.lp-btn-ghost:hover { border-color: var(--ink); }
.lp-btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.lp-btn[disabled] { opacity: .6; cursor: not-allowed; }

/* cabecalho */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.lp-header-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -0.02em; color: var(--ink) !important; text-decoration: none; font-size: 1.15rem; }
.lp-brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.lp-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.lp-nav a { color: var(--ink); text-decoration: none; font-weight: 560; font-size: .98rem; }
.lp-nav a:hover { color: var(--accent); text-decoration: underline; }
.lp-nav .lp-btn { color: var(--accent-ink); }
.lp-nav .lp-btn:hover { color: var(--accent-ink); text-decoration: none; }
.lp-menu-btn { display: none; margin-left: auto; min-height: 44px; min-width: 44px; background: transparent; border: 1.5px solid #b9ae9b; border-radius: 10px; font: inherit; font-weight: 650; color: var(--ink); cursor: pointer; padding: 0 14px; }

/* hero */
.lp-hero { padding: 72px 0 84px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.lp-hero-note { font-size: .95rem; color: var(--muted); margin: 0; }
.lp-hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.lp-hero-points li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); }
.lp-hero-points li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }

/* mockups (ilustracoes com dados ficticios) */
.lp-stage { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 520px; margin-bottom: 52px; }
.mock-phone { width: 270px; border-radius: 38px; background: #1c1a17; padding: 10px; box-shadow: var(--shadow); flex: 0 0 auto; }
.mock-phone-screen { background: #fffdf9; border-radius: 29px; overflow: hidden; min-height: 500px; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; color: var(--ink); }
.mock-notch { width: 84px; height: 6px; border-radius: 4px; background: #3a362f; margin: 0 auto 8px; }
.mock-store { padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.mock-store strong { display: block; font-size: 15px; }
.mock-store span { color: var(--muted); font-size: 12px; }
.mock-chips { display: flex; gap: 6px; padding: 10px 14px; overflow: hidden; }
.mock-chip { padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; white-space: nowrap; background: #fff; }
.mock-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.mock-item { display: grid; grid-template-columns: 1fr 54px; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #f0eadf; align-items: center; }
.mock-item b { display: block; font-size: 13.5px; }
.mock-item small { color: var(--muted); display: block; }
.mock-price { font-weight: 700; margin-top: 4px; display: block; }
.mock-thumb { width: 54px; height: 54px; border-radius: 10px; background: linear-gradient(135deg, #e9d5b1, #d9b98a); }
.mock-thumb.b { background: linear-gradient(135deg, #cfe0d4, #9fbfac); }
.mock-thumb.c { background: linear-gradient(135deg, #f1d3c0, #dca98a); }
.mock-tag { display: inline-block; font-size: 11px; font-weight: 650; padding: 1px 8px; border-radius: 99px; background: var(--warm-soft); color: var(--warm); margin-top: 3px; }
.mock-cartbar { margin: auto 12px 12px; background: var(--accent); color: #fff; border-radius: 12px; padding: 11px 14px; display: flex; justify-content: space-between; font-weight: 650; font-size: 13px; }
.mock-window { position: absolute; right: -6px; bottom: -44px; width: 420px; max-width: 78%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 12.5px; }
.mock-window-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f2ece1; border-bottom: 1px solid var(--line); font-weight: 650; }
.mock-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cdbfa8; display: inline-block; }
.mock-window-bar span { margin-left: 8px; }
.mock-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f0eadf; align-items: center; }
.mock-row:last-child { border-bottom: 0; }
.mock-row small { color: var(--muted); display: block; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.pill.novo { background: #e1ecfb; color: #174a8b; }
.pill.prep { background: var(--warm-soft); color: var(--warm); }
.pill.pronto { background: var(--accent-soft); color: var(--accent-strong); }
.lp-caption { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* cartoes e grades */
.lp-grid { display: grid; gap: 20px; }
.lp-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lp-section.alt .lp-card { background: var(--bg); }
.lp-card h3 { margin-bottom: .4em; }
.lp-card p:last-child { margin-bottom: 0; }
.lp-card .lp-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }

/* passos */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: passo; }
.lp-steps li { counter-increment: passo; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.lp-steps li::before { content: counter(passo); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px; }

/* integracoes */
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-chips li { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 560; }

/* faq */
.lp-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0; margin-bottom: 12px; }
.lp-faq summary { cursor: pointer; font-weight: 650; padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* cta */
.lp-cta { background: var(--accent); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; }
.lp-cta h2 { color: #fff; }
.lp-cta p { color: #d4e6dc; max-width: 56ch; margin-inline: auto; }
.lp-cta .lp-btn-primary { background: #fff; color: var(--accent-strong) !important; }
.lp-cta .lp-btn-primary:hover { background: var(--accent-soft); }

/* acesso existente */
.lp-access { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-access form { display: grid; gap: 12px; }

/* formularios */
.lp-field { display: grid; gap: 6px; margin-bottom: 18px; }
.lp-field label { font-weight: 650; font-size: .98rem; }
.lp-field .hint { font-size: .88rem; color: var(--muted); }
.lp-field input, .lp-field select { font: inherit; font-size: 1rem; min-height: 48px; padding: 10px 14px; border: 1.5px solid #b9ae9b; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.lp-field input:focus, .lp-field select:focus { border-color: var(--accent); }
.lp-field.erro input, .lp-field.erro select { border-color: var(--danger); }
.lp-field .msg-erro { color: var(--danger); font-size: .92rem; font-weight: 600; }
.lp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-row-uf { display: grid; grid-template-columns: 1fr 120px; gap: 16px; }
.lp-subdomain { display: flex; align-items: stretch; border: 1.5px solid #b9ae9b; border-radius: 10px; background: #fff; overflow: hidden; }
.lp-subdomain:focus-within { border-color: var(--accent); outline: 3px solid #0b57d0; outline-offset: 2px; }
.lp-subdomain input { border: 0; border-radius: 0; flex: 1 1 auto; min-width: 0; outline: none; }
.lp-subdomain span { display: grid; place-items: center; padding: 0 14px; background: #f2ece1; color: var(--muted); font-weight: 600; border-left: 1px solid var(--line); white-space: nowrap; }
.lp-status { min-height: 1.6em; font-size: .95rem; font-weight: 600; }
.lp-status.ok { color: var(--accent); }
.lp-status.no { color: var(--danger); }
.lp-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lp-suggest button { font: inherit; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--accent); background: #fff; color: var(--accent); font-weight: 650; cursor: pointer; }
.lp-suggest button:hover { background: var(--accent-soft); }
.lp-alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-weight: 600; }
.lp-alert.erro { background: var(--danger-soft); color: var(--danger); }
.lp-honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lp-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.lp-page-head { max-width: 720px; margin: 0 auto 28px; }

/* rodape */
.lp-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .95rem; }
.lp-footer-in { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lp-footer a { color: var(--muted); }
.lp-footer a:hover { color: var(--ink); }

/* responsivo */
@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-stage { min-height: 0; padding-bottom: 20px; }
  .mock-window { position: static; margin: -40px 0 0 -60px; width: 330px; max-width: 100%; align-self: flex-end; }
  .lp-stage { flex-wrap: wrap; justify-content: center; gap: 0; }
  .lp-grid.c3, .lp-steps { grid-template-columns: 1fr; }
  .lp-grid.c2, .lp-access { grid-template-columns: 1fr; }
  .lp-section { padding: 60px 0; }
}
@media (max-width: 760px) {
  .lp-menu-btn { display: inline-flex; align-items: center; }
  .js .lp-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; margin: 0; }
  .js .lp-nav.aberto { display: flex; }
  .js .lp-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .js .lp-nav .lp-btn { margin-top: 12px; border-bottom: 0; }
  .lp-nav { flex-wrap: wrap; gap: 8px 16px; }
  .lp-header-in { position: relative; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 16px; }
  .lp-hero { padding: 40px 0 56px; }
  .lp-hero-actions .lp-btn { width: 100%; }
  .lp-row2, .lp-row-uf { grid-template-columns: 1fr; }
  .lp-form-card { padding: 22px 18px; border-radius: 14px; }
  .lp-cta { padding: 40px 20px; }
  .lp-card, .lp-steps li { padding: 22px; }
  .mock-window { margin-left: -30px; width: 300px; }
  .lp-subdomain span { padding: 0 10px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
