/* Página de apresentação e "Solicitar teste" (resources/views/landing). Cores da plataforma
   entram por --lp-primary / --lp-secondary (Configurações globais). */
:root {
    --lp-primary: #135e96;
    --lp-secondary: #0a8894;
    --lp-accent: #ff7a59;
    --lp-ink: #10263d;
    --lp-muted: #5b6b7c;
    --lp-soft: #f3f7fb;
    --lp-line: #e3eaf2;
    --lp-radius: 1.1rem;
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body.lp { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--lp-ink); background: #fff; overflow-x: hidden; }
.lp a:not(.btn):not(.lp-brand) { color: var(--lp-primary); }
.lp h1, .lp h2, .lp h3 { letter-spacing: -.02em; }

/* Navegação */
.lp-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.lp-nav.is-scrolled { border-color: var(--lp-line); box-shadow: 0 6px 24px rgba(16, 38, 61, .06); }
.lp-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--lp-ink) !important; text-decoration: none; }
.lp-brand img { height: 36px; width: 36px; object-fit: contain; }
.lp-nav .nav-link { color: var(--lp-muted); font-weight: 600; font-size: .95rem; }
.lp-nav .nav-link:hover { color: var(--lp-primary); }

/* Botões */
.btn-lp { background: var(--lp-accent); border: 0; color: #fff; font-weight: 700; padding: .8rem 1.4rem; border-radius: 999px; box-shadow: 0 10px 24px rgba(255, 122, 89, .32); transition: transform .15s, box-shadow .15s; }
.btn-lp:hover, .btn-lp:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 122, 89, .4); background: #f86a47; }
.btn-lp-ghost { border: 1.5px solid var(--lp-line); color: var(--lp-ink); font-weight: 700; padding: .75rem 1.3rem; border-radius: 999px; background: #fff; }
.btn-lp-ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary); }
.btn-lp-sm { padding: .5rem 1.05rem; font-size: .9rem; box-shadow: none; }

/* Hero */
.lp-hero { position: relative; padding: 5.5rem 0 4.5rem; background: radial-gradient(1200px 520px at 85% -10%, color-mix(in srgb, var(--lp-secondary) 18%, transparent), transparent 60%), radial-gradient(900px 480px at -10% 20%, color-mix(in srgb, var(--lp-primary) 14%, transparent), transparent 60%), linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--lp-line); color: var(--lp-primary); font-weight: 700; font-size: .82rem; padding: .4rem .85rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(16, 38, 61, .05); }
.lp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.08; margin: 1.1rem 0; }
.lp-gradient-text { background: linear-gradient(90deg, var(--lp-primary), var(--lp-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 1.15rem; color: var(--lp-muted); line-height: 1.65; max-width: 36rem; }
.lp-checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--lp-muted); font-size: .92rem; font-weight: 600; }
.lp-checks i { color: var(--lp-secondary); margin-right: .3rem; }

/* Maquete do sistema (hero) */
.lp-mock-wrap { position: relative; padding: 1.5rem 0 2rem; }
.lp-mock { background: #fff; border-radius: 1.2rem; border: 1px solid var(--lp-line); box-shadow: 0 40px 80px -20px rgba(16, 38, 61, .28), 0 10px 30px rgba(16, 38, 61, .08); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.lp-mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: #f6f8fb; border-bottom: 1px solid var(--lp-line); }
.lp-mock-bar span { width: .65rem; height: .65rem; border-radius: 50%; background: #d6dde6; }
.lp-mock-bar em { margin-left: .8rem; font-style: normal; font-size: .72rem; color: var(--lp-muted); background: #fff; border: 1px solid var(--lp-line); border-radius: 999px; padding: .15rem .8rem; }
.lp-mock-body { display: grid; grid-template-columns: 56px 1fr; min-height: 330px; }
.lp-mock-side { background: linear-gradient(180deg, var(--lp-primary), color-mix(in srgb, var(--lp-primary) 70%, #000)); padding: .9rem 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; color: rgba(255, 255, 255, .75); }
.lp-mock-side i { font-size: 1.05rem; position: relative; }
.lp-mock-side i.active { color: #fff; }
.lp-mock-side .dot { position: absolute; top: -4px; right: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--lp-accent); font-size: .55rem; color: #fff; font-style: normal; font-family: inherit; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.lp-mock-main { padding: 1rem 1.1rem; }
.lp-mock-tabs { display: flex; gap: 1rem; font-size: .72rem; font-weight: 700; color: var(--lp-muted); border-bottom: 1px solid var(--lp-line); margin-bottom: .9rem; }
.lp-mock-tabs span { padding-bottom: .45rem; }
.lp-mock-tabs span.on { color: var(--lp-primary); border-bottom: 2px solid var(--lp-primary); }
.lp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .9rem; }
.lp-kpi { background: var(--lp-soft); border-radius: .7rem; padding: .55rem .6rem; }
.lp-kpi small { display: block; font-size: .62rem; color: var(--lp-muted); font-weight: 600; }
.lp-kpi b { font-size: 1.05rem; }
.lp-mock-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: .7rem; }
.lp-mock-card { border: 1px solid var(--lp-line); border-radius: .8rem; padding: .7rem .75rem; }
.lp-mock-card h6 { font-size: .7rem; font-weight: 800; margin-bottom: .6rem; }
.lp-bars { display: flex; align-items: flex-end; gap: .45rem; height: 96px; }
.lp-bars span { flex: 1; border-radius: .35rem .35rem .15rem .15rem; background: linear-gradient(180deg, var(--lp-secondary), var(--lp-primary)); opacity: .9; }
.lp-list { list-style: none; padding: 0; margin: 0; font-size: .66rem; }
.lp-list li { display: flex; align-items: center; gap: .4rem; padding: .32rem 0; border-bottom: 1px dashed var(--lp-line); }
.lp-list li:last-child { border-bottom: 0; }
.lp-pill { font-size: .55rem; font-weight: 800; padding: .08rem .4rem; border-radius: 999px; color: #fff; }
.lp-pill.red { background: #e5484d; } .lp-pill.amber { background: #f1a33b; } .lp-pill.teal { background: var(--lp-secondary); } .lp-pill.blue { background: var(--lp-primary); }
.lp-float { position: absolute; background: #fff; border: 1px solid var(--lp-line); border-radius: .9rem; box-shadow: 0 18px 40px rgba(16, 38, 61, .16); padding: .7rem .85rem; display: flex; gap: .6rem; align-items: center; font-size: .8rem; animation: lp-float 6s ease-in-out infinite; }
.lp-float .ico { width: 2.1rem; height: 2.1rem; border-radius: .6rem; display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.lp-float small { display: block; color: var(--lp-muted); font-size: .7rem; }
.lp-float-1 { left: -1.5rem; bottom: 1rem; }
.lp-float-2 { right: -1rem; top: .2rem; animation-delay: -3s; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Seções */
.lp-section { padding: 5.5rem 0; }
.lp-section-soft { background: var(--lp-soft); }
.lp-kicker { color: var(--lp-secondary); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.lp-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin: .5rem 0 1rem; }
.lp-subtitle { color: var(--lp-muted); font-size: 1.08rem; max-width: 44rem; margin-inline: auto; }

.lp-areas { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.2rem; }
.lp-area { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--lp-line); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 700; color: var(--lp-ink); }
.lp-area i { color: var(--lp-secondary); font-size: 1.15rem; }

.lp-pain { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 1.6rem; height: 100%; }
.lp-pain .num { font-weight: 800; color: var(--lp-accent); font-size: .85rem; }
.lp-pain h3 { font-size: 1.1rem; font-weight: 800; margin: .5rem 0; }
.lp-pain p { color: var(--lp-muted); margin: 0; }
.lp-arrow-card { background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary)); color: #fff; border-radius: var(--lp-radius); padding: 1.6rem; height: 100%; }
.lp-arrow-card p { color: rgba(255, 255, 255, .85); }

.lp-feature { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 1.5rem; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(16, 38, 61, .25); border-color: color-mix(in srgb, var(--lp-primary) 30%, var(--lp-line)); }
.lp-icon { width: 3rem; height: 3rem; border-radius: .9rem; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--lp-primary); background: color-mix(in srgb, var(--lp-primary) 10%, #fff); margin-bottom: 1rem; }
.lp-feature h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .45rem; }
.lp-feature p { color: var(--lp-muted); font-size: .95rem; margin: 0; }

/* Como funciona */
.lp-steps { counter-reset: step; position: relative; }
.lp-step { position: relative; padding-left: 3.6rem; margin-bottom: 1.8rem; }
.lp-step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; border: 2px solid var(--lp-secondary); color: var(--lp-secondary); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lp-step::after { content: ''; position: absolute; left: 1.28rem; top: 2.8rem; bottom: -1.6rem; width: 2px; background: var(--lp-line); }
.lp-step:last-child::after { display: none; }
.lp-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .25rem; }
.lp-step p { color: var(--lp-muted); margin: 0; }
.lp-journey { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 1.5rem; box-shadow: 0 24px 50px -30px rgba(16, 38, 61, .35); }
.lp-journey-row { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--lp-line); font-size: .92rem; }
.lp-journey-row:last-child { border-bottom: 0; }
.lp-journey-row .ico { width: 2.3rem; height: 2.3rem; border-radius: .7rem; display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.lp-journey-row small { display: block; color: var(--lp-muted); }

/* Perfis */
.lp-role { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 1.5rem; height: 100%; position: relative; overflow: hidden; }
.lp-role::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--lp-primary), var(--lp-secondary)); }
.lp-role h3 { font-size: 1.1rem; font-weight: 800; margin: .8rem 0 .8rem; }
.lp-role ul { list-style: none; padding: 0; margin: 0; }
.lp-role li { display: flex; gap: .5rem; color: var(--lp-muted); font-size: .93rem; padding: .3rem 0; }
.lp-role li i { color: var(--lp-secondary); }

/* Destaques com maquetes */
.lp-showcase { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 1.2rem; box-shadow: 0 30px 60px -30px rgba(16, 38, 61, .35); }
.lp-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; font-size: .68rem; }
.lp-cal .head { font-weight: 800; color: var(--lp-muted); text-align: center; padding-bottom: .2rem; }
.lp-cal .slot { border-radius: .45rem; padding: .35rem .4rem; min-height: 2.2rem; }
.lp-cal .free { border: 1px dashed var(--lp-secondary); color: var(--lp-secondary); }
.lp-cal .busy { background: var(--lp-primary); color: #fff; }
.lp-cal .busy.alt { background: #6f42c1; }
.lp-cal .block { background: #f8f1e5; color: #7a5a14; border: 1px dashed #d9a441; }
.lp-report-row { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--lp-line); font-size: .85rem; }
.lp-meter { height: .5rem; border-radius: 999px; background: var(--lp-soft); overflow: hidden; flex: 0 0 45%; }
.lp-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--lp-secondary), var(--lp-primary)); border-radius: 999px; }
.lp-bullets { list-style: none; padding: 0; }
.lp-bullets li { display: flex; gap: .65rem; margin-bottom: .8rem; color: var(--lp-muted); }
.lp-bullets li i { color: var(--lp-secondary); font-size: 1.1rem; margin-top: .05rem; }
.lp-bullets strong { color: var(--lp-ink); }

/* Segurança */
.lp-dark { background: radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--lp-secondary) 35%, transparent), transparent 60%), #0e2238; color: #fff; }
.lp-dark .lp-kicker { color: #7fd6cf; }
.lp-dark .lp-subtitle { color: rgba(255, 255, 255, .72); }
.lp-shield { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--lp-radius); padding: 1.4rem; height: 100%; }
.lp-shield i { font-size: 1.5rem; color: #7fd6cf; }
.lp-shield h3 { font-size: 1.02rem; font-weight: 800; margin: .7rem 0 .35rem; }
.lp-shield p { color: rgba(255, 255, 255, .7); font-size: .93rem; margin: 0; }

/* Perguntas */
.lp-faq .accordion-item { border: 1px solid var(--lp-line); border-radius: .9rem !important; margin-bottom: .7rem; overflow: hidden; }
.lp-faq .accordion-button { font-weight: 700; color: var(--lp-ink); }
.lp-faq .accordion-button:not(.collapsed) { background: var(--lp-soft); color: var(--lp-primary); box-shadow: none; }
.lp-faq .accordion-body { color: var(--lp-muted); }

/* Chamada final */
.lp-cta { background: linear-gradient(120deg, var(--lp-primary), var(--lp-secondary)); color: #fff; border-radius: 1.6rem; padding: 3.2rem 2rem; position: relative; overflow: hidden; }
.lp-cta::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -120px; top: -160px; }
.lp-cta h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lp-cta p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }

/* Rodapé */
.lp-footer { border-top: 1px solid var(--lp-line); padding: 2.5rem 0; color: var(--lp-muted); font-size: .9rem; }
.lp-footer a { color: var(--lp-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--lp-primary); }

/* Solicitar teste */
.lp-trial { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1fr 1.15fr; }
.lp-trial-aside { background: radial-gradient(700px 400px at 100% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(160deg, var(--lp-primary), var(--lp-secondary)); color: #fff; padding: 4rem clamp(1.5rem, 5vw, 4rem); }
.lp-trial-aside h1 { font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; }
.lp-trial-aside p { color: rgba(255, 255, 255, .85); }
.lp-next { list-style: none; padding: 0; margin: 2rem 0 0; }
.lp-next li { display: flex; gap: .9rem; margin-bottom: 1.3rem; }
.lp-next .n { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.lp-next strong { display: block; }
.lp-next span { color: rgba(255, 255, 255, .78); font-size: .93rem; }
.lp-trial-form { padding: 4rem clamp(1.5rem, 5vw, 4rem); background: var(--lp-soft); }
.lp-form-card { background: #fff; border: 1px solid var(--lp-line); border-radius: 1.3rem; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -35px rgba(16, 38, 61, .4); max-width: 640px; }
.lp-form-card .form-label { font-weight: 700; font-size: .9rem; }
.lp-form-card .form-control, .lp-form-card .form-select { border-radius: .7rem; padding: .65rem .85rem; border-color: var(--lp-line); }
.lp-form-card .form-control:focus, .lp-form-card .form-select:focus { border-color: var(--lp-primary); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--lp-primary) 18%, transparent); }
.lp-choice { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid var(--lp-line); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; font-weight: 600; font-size: .9rem; margin: 0 .4rem .4rem 0; user-select: none; }
.lp-choice input { accent-color: var(--lp-primary); }
.lp-choice:has(input:checked) { border-color: var(--lp-primary); background: color-mix(in srgb, var(--lp-primary) 8%, #fff); color: var(--lp-primary); }
.lp-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.lp-thanks { min-height: calc(100vh - 70px); display: flex; align-items: center; background: radial-gradient(900px 500px at 50% -10%, color-mix(in srgb, var(--lp-secondary) 16%, transparent), transparent 60%), #fff; }
.lp-thanks-icon { width: 5rem; height: 5rem; border-radius: 50%; background: color-mix(in srgb, var(--lp-secondary) 14%, #fff); color: var(--lp-secondary); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; margin: 0 auto 1.5rem; }

/* Animação ao rolar (só quando o navegador aceita movimento) */
@media (prefers-reduced-motion: no-preference) {
    .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    .lp-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .lp-float { animation: none; } .lp-mock { transform: none; } }

@media (max-width: 991.98px) {
    .lp-hero { padding: 3.5rem 0 3rem; }
    .lp-mock { transform: none; }
    .lp-float-1 { left: .5rem; bottom: -1rem; }
    .lp-float-2 { right: .5rem; top: -1rem; }
    .lp-trial { grid-template-columns: 1fr; }
    .lp-trial-aside, .lp-trial-form { padding: 2.5rem 1rem; }
    .lp-section { padding: 4rem 0; }
}
@media (max-width: 575.98px) {
    .lp-kpis { grid-template-columns: repeat(2, 1fr); }
    .lp-mock-grid { grid-template-columns: 1fr; }
    .lp-float { display: none; }
}

/* Modo campo: maquete de tablet sem internet (dados neutros). */
.lp-field-device { max-width: 420px; margin: 0 auto; background: #10263d; border-radius: 1.6rem; padding: .7rem; box-shadow: 0 40px 80px -20px rgba(16, 38, 61, .35); }
.lp-field-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; background: var(--lp-primary); color: #fff; padding: .7rem .9rem; border-radius: 1.1rem 1.1rem 0 0; font-size: .9rem; }
.lp-field-top span { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.lp-field-top em { font-style: normal; font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }
.lp-field-top em.off { background: #fff4dc; color: #8a5a00; }
.lp-field-top em.queue { background: #fff; color: var(--lp-primary); }
.lp-field-body { background: var(--lp-soft); padding: .9rem; border-radius: 0 0 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.lp-field-item { display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--lp-line); border-radius: .7rem; padding: .6rem .75rem; }
.lp-field-item strong, .lp-field-item small { display: block; }
.lp-field-item small { color: var(--lp-muted); font-size: .75rem; }
.lp-field-badge { font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: .4rem; white-space: nowrap; }
.lp-field-badge.ok { background: #e5f4ec; color: #198754; }
.lp-field-badge.warn { background: #fff4dc; color: #8a5a00; }
.lp-field-btn { margin-top: .25rem; text-align: center; font-weight: 700; font-size: .85rem; color: #0f5132; background: #e5f4ec; border-radius: .6rem; padding: .55rem; }
