/* Página inicial pública (praeko.app/): tema claro, azulejos pastel e mocks de interface, inspirada no jeito das páginas de produto do Buffer.
   Usa a Inter de app.css. Some quando o app monta (ver js/app.js). */
.lp { --bg: #fefdfb; --ink: #17181a; --mut: #5b5f66; --linha: #e8e4da; --verde: #7ccf77; --verde-f: #62b95d; --verde-claro: #b9f0a4; --verde-esc: #1d3320; --card: #fff;
  min-height: 100%; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: clip; }
.lp[hidden] { display: none; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 2px solid var(--verde-f); outline-offset: 3px; border-radius: 8px; }
.lp-topo, .lp main > section, .lp-rodape { width: min(1160px, 100%); margin-inline: auto; padding-inline: 22px; }
.lp-sec { padding-block: 56px; }
.lp-h2 { margin: 0 0 28px; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }

/* topo */
.lp-topo { display: flex; align-items: center; gap: 18px; padding-block: 18px; }
.lp-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.lp-logo svg { color: var(--verde-f); }
.lp-nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--mut); }
.lp-nav a:hover { color: var(--ink); }
.lp-idioma { display: inline-flex; padding: 3px; border: 1px solid var(--linha); border-radius: 999px; background: #fff; }
.lp-idioma button { min-width: 38px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--mut); font: 700 13px var(--fonte); cursor: pointer; }
.lp-idioma button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; font: 700 15px var(--fonte); background: var(--verde); color: #10250f !important; border: 1px solid #10250f22; transition: background .15s, transform .12s, box-shadow .15s; text-decoration: none; cursor: pointer; }
.lp-btn:hover { background: var(--verde-f); transform: translateY(-1px); box-shadow: 0 6px 16px -6px #62b95d99; }
.lp-btn-topo { min-height: 40px; padding: 0 18px; }

/* hero */
.lp-hero { position: relative; text-align: center; padding-block: 64px 36px; background-image: radial-gradient(#d9d4c6 1px, transparent 1px); background-size: 26px 26px; background-position: center top; -webkit-mask-image: none; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% 42%, var(--bg) 40%, transparent 100%); }
.lp-hero > * { position: relative; z-index: 1; }
.lp-etq { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--verde-claro); color: #1d3a18; font-size: 13px; font-weight: 700; }
.lp-hero h1 { margin: 20px auto 0; max-width: 17ch; font-size: clamp(2.5rem, 7vw, 4.8rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; }
.lp-sub { max-width: 40rem; margin: 22px auto 0; font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--mut); }
.lp-entrada { max-width: 36rem; margin: 30px auto 0; }
.lp-ganhos { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; max-width: 46rem; margin: 22px auto 0; padding: 0; list-style: none; font-size: 14px; color: var(--mut); }
.lp-ganhos li { padding-left: 22px; position: relative; text-align: left; }
.lp-ganhos li::before { content: "✓"; position: absolute; left: 0; color: var(--verde-f); font-weight: 800; }
.lp-ganhos b { color: var(--ink); font-weight: 650; }

/* ícones flutuantes (decorativos) */
.lp-fl { position: absolute !important; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 10px 24px -8px #0003; animation: lp-flutua 6s ease-in-out infinite; }
.lp-fl svg { width: 30px; height: 30px; }
.lp-fl-yt { background: #ff3b30; left: 7%; top: 18%; }
.lp-fl-ig { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); right: 8%; top: 14%; animation-delay: -1.2s; }
.lp-fl-tt { background: #111; right: 14%; top: 56%; animation-delay: -2.4s; }
.lp-fl-bolt { background: var(--verde); left: 14%; top: 60%; animation-delay: -3.6s; }
.lp-fl-chat { background: #e9c9f7; left: 3%; top: 40%; width: 48px; height: 48px; animation-delay: -4.2s; }
.lp-fl-bars { background: #ffcf8a; right: 3%; top: 36%; width: 48px; height: 48px; animation-delay: -5s; }
@keyframes lp-flutua { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

/* formulário em pílula */
.lp-form-linha { display: flex; align-items: center; gap: 6px; padding: 6px; background: #fff; border: 1.5px solid #d9d4c6; border-radius: 999px; box-shadow: 0 10px 30px -14px #17181a33; transition: box-shadow .15s, border-color .15s; }
.lp-form-linha:focus-within { border-color: var(--verde-f); box-shadow: 0 0 0 4px #7ccf7733, 0 10px 30px -14px #17181a33; }
.lp-form input[type=email] { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--fonte); outline: none; }
.lp-form input[type=email]::placeholder { color: #9a9a92; }
.lp-form .lp-btn { white-space: nowrap; min-height: 46px; }
.lp-form .lp-btn:disabled { opacity: .7; cursor: wait; transform: none; box-shadow: none; }
.lp-isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-aviso { margin-top: 12px; font-size: 13px; color: #85857c; }
.lp-aviso a { text-decoration: underline; text-underline-offset: 3px; }
.lp-erro { display: flex; justify-content: center; margin-top: 10px; padding: 8px 14px; border-radius: 10px; background: #ffe5e1; color: #b3261e; font-size: 14px; font-weight: 500; }
.lp-form input[aria-invalid="true"] { color: #b3261e; }
.lp-form-linha:has(input[aria-invalid="true"]) { border-color: #e5574b; box-shadow: 0 0 0 4px #e5574b26; }
.lp-tremer { animation: lp-treme .35s; }
.lp-carregando::before { content: ""; width: 16px; height: 16px; margin-right: 10px; border-radius: 50%; border: 2px solid #10250f44; border-top-color: #10250f; animation: lp-gira .7s linear infinite; }
.lp-erro[hidden], .lp-ok[hidden], .lp-ok-fim[hidden], .lp-aviso[hidden], .lp-extra[hidden] { display: none; }

/* cartão de sucesso */
.lp-ok { padding: 34px 28px 28px; text-align: center; color: #ededed; background: linear-gradient(180deg, #213d24 0%, #172a1a 100%); border: 1px solid #2f5230; border-radius: 24px; box-shadow: 0 30px 60px -24px #1d332066; animation: lp-entra .5s cubic-bezier(.2, .8, .2, 1) both; outline: none; }
.lp-check { width: 68px; height: 68px; display: block; margin: 0 auto 14px; }
.lp-check-c { stroke: #7ccf77; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: lp-traco .6s .1s ease-out forwards; }
.lp-check-p { stroke: #7ccf77; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: lp-traco .4s .55s ease-out forwards; }
.lp-ok-titulo { font-size: 1.55rem; font-weight: 750; letter-spacing: -.02em; color: #fff; margin: 0; }
.lp-ok-sub { margin: 8px auto 0; max-width: 28rem; color: #b6c4b5; font-size: 15px; }
.lp-extra { display: grid; gap: 22px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #2f5230; text-align: left; }
.lp-extra fieldset { margin: 0; padding: 0; border: 0; }
.lp-extra legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9db39c; }
.lp-opcoes { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-opc { cursor: pointer; }
.lp-opc input { position: absolute; opacity: 0; pointer-events: none; }
.lp-opc span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #3a5f3b; background: #0f1d11; color: #ededed; font-weight: 500; font-size: 15px; transition: background .15s, border-color .15s, transform .1s; }
.lp-opc:hover span { border-color: #7ccf77; }
.lp-opc:active span { transform: scale(.97); }
.lp-opc input:checked + span { border-color: #7ccf77; background: #2a4d2c; color: #fff; }
.lp-opc input:checked + span::after { content: "✓"; color: #7ccf77; font-weight: 800; margin-left: 2px; }
.lp-opc input:focus-visible + span { outline: 2px solid #7ccf77; outline-offset: 2px; }
.lp-d { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: currentColor; }
.lp-d.lp-yt { color: #ff5d5d; } .lp-d.lp-ig { color: #ff6fa5; } .lp-d.lp-tt { color: #25f4ee; }
.lp-extra .lp-btn { width: 100%; }
.lp-ok-fim { margin-top: 20px; display: flex; gap: 10px; align-items: center; justify-content: center; font-weight: 600; color: #fff; animation: lp-entra .4s both; }
.lp-mini { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #7ccf77; color: #10250f; font-size: 14px; font-weight: 800; }

/* faixa de redes */
.lp-faixa { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block: 8px 0; padding: 18px 26px !important; background: #f3f0e8; border-radius: 20px; width: min(1116px, calc(100% - 44px)) !important; }
.lp-faixa p { margin: 0; font-weight: 700; }
.lp-redes { display: flex; gap: 12px; }
.lp-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.lp-ic svg { width: 24px; height: 24px; }
.lp-ic-yt { background: #ff3b30; } .lp-ic-ig { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); } .lp-ic-tt { background: #111; }

/* azulejos (bento) */
.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-tile { padding: 14px 14px 24px; background: #fff; border: 1px solid var(--linha); border-radius: 24px; }
.lp-tile h3 { margin: 4px 12px 8px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.lp-tile p { margin: 0 12px; color: var(--mut); font-size: 15px; }
.lp-tile .lp-rot { margin: 18px 12px 6px; }
.lp-rot { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #6b6f55; }
.lp-arte { display: grid; place-items: center; height: 250px; border-radius: 16px; overflow: hidden; }
.lp-lilas { background: #e7c9f6; } .lp-menta { background: #b9efb0; } .lp-pessego { background: #ffcf8a; }
.lp-mock { width: min(82%, 280px); padding: 14px; background: #fff; border-radius: 14px; box-shadow: 0 14px 30px -14px #0004; font-size: 13px; }
.lp-mock-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lp-mini-chip, .lp-pill-v { display: inline-block; padding: 3px 11px; border-radius: 999px; background: #17181a; color: #fff; font-size: 12px; font-weight: 700; }
.lp-pill-v { background: #eef7e9; color: #1d3a18; }
.lp-mock-redes { display: flex; gap: 8px; margin-bottom: 12px; }
.lp-mock-redes .lp-ic { width: 30px; height: 30px; border-radius: 9px; } .lp-mock-redes .lp-ic svg { width: 18px; height: 18px; }
.lp-sk { display: grid; gap: 7px; } .lp-sk i { display: block; height: 8px; border-radius: 6px; background: #e8e6df; }
.lp-mock-rodape { display: flex; gap: 8px; margin-top: 14px; }
.lp-mock-com { display: grid; gap: 10px; }
.lp-bolha { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: #f4f3ee; }
.lp-bolha b { display: block; font-size: 12px; } .lp-bolha span { color: #555; }
.lp-av { flex: none; width: 30px; height: 30px; border-radius: 50%; } .lp-av1 { background: linear-gradient(135deg, #ff9a8b, #ff6a88); } .lp-av2 { background: linear-gradient(135deg, #84fab0, #8fd3f4); }
.lp-resp { text-align: right; }
.lp-graf { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 6px; }
.lp-graf i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #7ccf77, #b9f0a4); }

/* história */
.lp-historia { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 44px; background: #fff3c7; border-radius: 28px; }
.lp-historia .lp-h2 { margin-bottom: 0; }
.lp-historia-txt p { margin: 0 0 14px; color: #3a3926; }
.lp-assina { color: #2e7d32 !important; font-weight: 700; margin-bottom: 0 !important; }

/* API */
.lp-dev { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding: 48px; background: #1c2620; color: #eef3ec; border-radius: 28px; }
.lp-dev h2 { margin: 10px 0 14px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; }
.lp-dev p { color: #b6c4b5; }
.lp-rot-claro { color: #8fd68a; margin: 0; }
.lp-lista { margin: 16px 0 0; padding-left: 20px; color: #b6c4b5; }
.lp-lista li { margin: 4px 0; }
.lp-codigo { margin: 0; padding: 22px; overflow-x: auto; background: #0e1511; border: 1px solid #2c3a31; border-radius: 16px; font: 13px/1.65 var(--mono); color: #d5e8d4; }
.lp-codigo code { background: none; padding: 0; border: 0; color: inherit; font: inherit; white-space: pre; }

/* FAQ */
.lp-faq { display: grid; gap: 12px; max-width: 52rem; }
.lp-faq details { background: #fff; border: 1px solid var(--linha); border-radius: 16px; padding: 0 22px; }
.lp-faq summary { padding: 18px 0; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--verde-f); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 0; padding-bottom: 18px; color: var(--mut); }
.lp-faq a { text-decoration: underline; text-underline-offset: 3px; }

/* CTA final */
.lp-final { padding: 64px 28px; text-align: center; background: var(--verde-claro); border-radius: 32px; }
.lp-final h2 { margin: 0 auto; max-width: 18ch; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 750; color: #10250f; }
.lp-final .lp-form-linha { border-color: #10250f33; }
.lp-final .lp-aviso { color: #3d5a3a; }
.lp-final .lp-btn { background: #10250f; color: #fff !important; border-color: #10250f; }
.lp-final .lp-btn:hover { background: #1d3a18; box-shadow: none; }
.lp-final .lp-carregando::before { border-color: #ffffff55; border-top-color: #fff; }

/* texto legal do Google */
.lp-legal { padding-block: 8px 24px; font-size: 13px; color: #85857c; }
.lp-legal .lp-h3 { margin: 0 0 6px; font-size: 13px; color: #6d6d65; }
.lp-legal p { margin: 0 0 8px; max-width: 60rem; }
.lp-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* rodapé */
.lp-rodape { padding-block: 40px 28px; border-top: 1px solid var(--linha); }
.lp-rodape-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-rodape nav { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.lp-rodape nav b { margin-bottom: 4px; font-size: 13px; letter-spacing: .02em; }
.lp-rodape nav a { color: var(--mut); } .lp-rodape nav a:hover { color: var(--ink); }
.lp-marca { display: flex; align-items: center; gap: .12em; margin-top: 28px; font-weight: 850; font-size: clamp(3.5rem, 17vw, 11rem); line-height: 1; letter-spacing: -.06em; color: var(--verde-claro); user-select: none; }
.lp-marca svg { width: .8em; height: .8em; color: var(--verde); }
.lp-copy { margin: 8px 0 0; font-size: 13px; color: #85857c; }
.lp-noscript { padding: 16px 20px; text-align: center; color: var(--mut); }

@keyframes lp-entra { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lp-traco { to { stroke-dashoffset: 0; } }
@keyframes lp-gira { to { transform: rotate(360deg); } }
@keyframes lp-treme { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-fl, .lp-ok, .lp-ok-fim, .lp-tremer { animation: none; } .lp-check-c, .lp-check-p { animation: none; stroke-dashoffset: 0; } .lp-carregando::before { animation-duration: 1.6s; } }

@media (max-width: 960px) { .lp-bento { grid-template-columns: 1fr; } .lp-historia, .lp-dev { grid-template-columns: 1fr; padding: 32px 24px; } .lp-fl { display: none; } }
.lp-burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--linha); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.lp-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.lp-burger.lp-aberto span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .lp-burger.lp-aberto span:nth-child(2) { opacity: 0; } .lp-burger.lp-aberto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lp-topo { position: relative; }
.lp-menu { display: none; }
@media (max-width: 760px) {
  .lp-nav, .lp-topo > .lp-idioma { display: none; } .lp-topo { justify-content: space-between; gap: 10px; } .lp-btn-topo { margin-left: auto; min-height: 42px; padding: 0 16px; font-size: 14px; }
  .lp-burger { display: flex; }
  .lp-menu:not([hidden]) { display: grid; gap: 4px; position: absolute; z-index: 20; top: calc(100% - 4px); left: 22px; right: 22px; padding: 12px; background: #fff; border: 1px solid var(--linha); border-radius: 20px; box-shadow: 0 24px 50px -20px #17181a55; animation: lp-entra .2s both; }
  .lp-menu a { padding: 14px 12px; border-radius: 12px; font-weight: 600; font-size: 17px; }
  .lp-menu a:hover, .lp-menu a:active { background: #f3f0e8; }
  .lp-menu .lp-idioma { justify-self: start; margin: 8px 12px 4px; }
  .lp-hero { padding-block: 40px 24px; } .lp-sec { padding-block: 36px; }
  .lp-form-linha { flex-direction: column; border-radius: 26px; padding: 10px; } .lp-form input[type=email] { width: 100%; text-align: center; } .lp-form .lp-btn { width: 100%; }
  .lp-rodape-cols { grid-template-columns: 1fr 1fr; }
  .lp-faixa { flex-direction: column; align-items: flex-start; }
}
