/* Ecossistema PreçoAI — componentes novos, camada sobre styles.css */

.eco-wrap { width: min(calc(100% - 40px), var(--content-width)); margin-inline: auto; }
.eco-section { padding: 96px 0; }
.eco-section.tight { padding: 64px 0; }

.eco-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid rgba(89,212,0,.28); border-radius: 999px;
  background: rgba(89,212,0,.08); color: #d7ffc2; font-size: .84rem; font-weight: 600;
}
.eco-h1 { margin: 22px 0 0; font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.03; letter-spacing: -.055em; }
.eco-h2 { margin: 18px 0 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.045em; }
.eco-lead { margin: 22px 0 0; max-width: 620px; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.eco-center { text-align: center; }
.eco-center .eco-lead { margin-inline: auto; }
.hl { color: var(--accent-strong); }

/* Hero */
.eco-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 40px; }
.eco-hero .hero-actions { margin-top: 32px; }
.eco-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .94rem; }
.eco-trust span::before { content: "✓"; color: var(--accent-strong); font-weight: 800; margin-right: 8px; }

/* Hub diagram (home) */
.hub { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: var(--shadow); }
.hub-core { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-md);
  background: var(--accent-soft); border: 1px solid rgba(89,212,0,.3); }
.hub-core img { width: 46px; height: 46px; border-radius: 12px; }
.hub-core strong { display: block; } .hub-core span { color: var(--muted); font-size: .88rem; }
.hub-grid { display: grid; gap: 12px; margin-top: 14px; }
.hub-node { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius-md); background: rgba(255,255,255,.04); }
.hub-node b { display: block; font-size: .98rem; } .hub-node small { color: var(--muted); }
.hub-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-strong); }
.hub-ico svg, .eco-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-leads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lead-pill { padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--muted); }
.lead-pill::before { content: "● "; color: var(--accent-strong); }

/* Faixa de diferenciais */
.eco-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eco-strip div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); }
.eco-strip b { display: block; font-size: 1.02rem; } .eco-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* Cartões dos 3 pilares (clicáveis) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pillar { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(89,212,0,.45); box-shadow: 0 30px 70px rgba(89,212,0,.12); }
.pillar-num { color: var(--accent-strong); font-weight: 800; font-size: .85rem; letter-spacing: .08em; }
.pillar h3 { margin: 10px 0 0; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1.15; }
.pillar p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
.pillar ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.pillar li { color: #dfe6dc; font-size: .95rem; } .pillar li::before { content: "✓"; color: var(--accent-strong); font-weight: 800; margin-right: 9px; }
.pillar .more { margin-top: auto; padding-top: 24px; color: var(--accent-strong); font-weight: 700; }
.pillar-art { height: 150px; margin-bottom: 20px; border-radius: var(--radius-md); border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 20%, rgba(89,212,0,.22), transparent 60%), rgba(255,255,255,.03); padding: 14px; overflow: hidden; }

/* Mockups genéricos */
.mock { border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(8,13,8,.9); padding: 18px; box-shadow: var(--shadow); }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--muted); font-size: .85rem; }
.mock-head b { color: var(--text); }
.chip { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--muted); }
.chip.on { background: var(--accent-soft); border-color: rgba(89,212,0,.4); color: #d7ffc2; }
.chip.warn { background: rgba(255,184,0,.12); border-color: rgba(255,184,0,.4); color: #ffd666; }
.chip.down { background: rgba(255,92,92,.12); border-color: rgba(255,92,92,.4); color: #ff9b9b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prod { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); }
.prod i { display: grid; place-items: center; height: 56px; border-radius: 10px; font-size: 1.7rem; font-style: normal; background: rgba(255,255,255,.05); }
.prod b { display: block; margin-top: 9px; font-size: .84rem; } .prod span { color: var(--accent-strong); font-weight: 800; font-size: .9rem; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid rgba(89,212,0,.3); font-size: .9rem; }
.mock-bar .btn-mini { padding: 8px 14px; border-radius: 999px; background: #59d400; color: #071007; font-weight: 800; font-size: .82rem; }

/* Inbox CRM */
.inbox { display: grid; grid-template-columns: 220px 1fr; gap: 14px; }
.inbox-list { display: grid; gap: 8px; align-content: start; }
.inbox-item { padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); font-size: .84rem; }
.inbox-item.active { border-color: rgba(89,212,0,.45); background: var(--accent-soft); }
.inbox-item b { display: flex; justify-content: space-between; gap: 8px; } .inbox-item small { color: var(--muted); }
.ch { font-size: .68rem; padding: 2px 7px; border-radius: 999px; font-weight: 800; }
.ch.wa { background: rgba(37,211,102,.18); color: #7dffae; } .ch.ig { background: rgba(225,48,108,.18); color: #ff9bc0; } .ch.fb { background: rgba(24,119,242,.2); color: #9cc4ff; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.5; margin-bottom: 9px; }
.msg.in { background: rgba(255,255,255,.07); } .msg.ai { background: var(--accent-soft); border: 1px solid rgba(89,212,0,.3); margin-left: auto; }
.msg small { display: block; margin-bottom: 4px; color: var(--accent-strong); font-weight: 800; font-size: .7rem; letter-spacing: .06em; }
.funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.funnel div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); }
.funnel b { display: block; font-size: 1.5rem; } .funnel span { color: var(--muted); font-size: .8rem; }

/* Gráfico de preço */
.pricechart { width: 100%; height: auto; display: block; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.kpis div { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); }
.kpis b { display: block; font-size: 1.15rem; } .kpis span { color: var(--muted); font-size: .76rem; }
.up { color: var(--accent-strong); } .dn { color: #ff9b9b; }

/* Post generator */
.post { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #0f1a0f; }
.post-img { display: grid; place-items: center; aspect-ratio: 1; background: linear-gradient(135deg, #1e5c32, #0c2415); text-align: center; padding: 20px; }
.post-img strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; } .post-img em { font-style: normal; color: #7af212; font-weight: 800; font-size: 2.2rem; display: block; margin: 6px 0; }
.post-foot { display: flex; justify-content: space-between; padding: 10px 14px; font-size: .78rem; color: var(--muted); }

/* Grades de recursos / passos */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.feat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-soft); }
.feat h3 { margin: 14px 0 0; font-size: 1.08rem; } .feat p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }
.eco-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-strong); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; counter-reset: s; }
.step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-soft); counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); color: var(--accent-strong); font-weight: 800; font-size: .85rem; letter-spacing: .08em; }
.step h3 { margin: 10px 0 0; font-size: 1.05rem; } .step p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; font-size: .93rem; }

/* Split (texto + mockup) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
.checks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { color: #dfe6dc; line-height: 1.55; } .checks li::before { content: "✓"; color: var(--accent-strong); font-weight: 800; margin-right: 10px; }
.checks b { color: var(--text); }

/* Conexão entre módulos */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 10px; margin-top: 44px; }
.flow-node { flex: 1 1 150px; max-width: 200px; padding: 18px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); }
.flow-node b { display: block; font-size: .95rem; } .flow-node small { color: var(--muted); line-height: 1.4; display: block; margin-top: 6px; }
.flow-node.a { border-color: rgba(89,212,0,.4); background: var(--accent-soft); }
.flow-arrow { align-self: center; color: var(--accent-strong); font-weight: 800; }

/* Comparativo */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.vs > div { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface-soft); }
.vs .win { border-color: rgba(89,212,0,.45); background: linear-gradient(180deg, rgba(89,212,0,.14), rgba(255,255,255,.02)); }
.vs h3 { margin: 0 0 14px; font-size: 1.2rem; } .vs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; color: #dfe6dc; }
.vs li::before { content: "✕"; color: #ff9b9b; margin-right: 10px; font-weight: 800; } .vs .win li::before { content: "✓"; color: var(--accent-strong); }

/* Vídeo */
.video-box { position: relative; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-box video, .video-box img { width: 100%; display: block; }
.video-ph { display: grid; place-items: center; aspect-ratio: 16/9; text-align: center; padding: 24px; color: var(--muted);
  background: radial-gradient(circle at 50% 40%, rgba(89,212,0,.2), transparent 60%), #0a110a; }
.video-ph .play { width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-strong); color: #071007; font-size: 1.6rem; }
.ph-tag { display: inline-block; margin-top: 10px; padding: 4px 10px; border: 1px dashed rgba(255,255,255,.25); border-radius: 999px; font-size: .72rem; color: var(--muted); }

.phone-shot { max-width: 360px; margin-inline: auto; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* CTA final, rodapé, WhatsApp flutuante */
.eco-cta { text-align: center; padding: 64px 28px; border: 1px solid rgba(89,212,0,.3); border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 0%, rgba(89,212,0,.22), transparent 60%), var(--surface-soft); }
.eco-cta h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.045em; line-height: 1.08; }
.eco-cta p { margin: 16px auto 28px; max-width: 560px; color: var(--muted); line-height: 1.7; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; background: #25d366; color: #052e16; font-weight: 800; box-shadow: 0 14px 40px rgba(37,211,102,.35); }
.wa-float:hover { transform: translateY(-2px); }

/* Dúvidas */
.faq { display: grid; gap: 12px; margin-top: 40px; max-width: 860px; margin-inline: auto; }
.faq details { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; } .faq p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }

.crumb { display: inline-block; margin-bottom: 6px; color: var(--muted); font-size: .9rem; } .crumb:hover { color: var(--text); }
.nav-links a.current { color: var(--accent-strong); font-weight: 700; }

@media (max-width: 980px) {
  .eco-hero, .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev > :first-child { order: 0; }
  .pillars, .feat-grid { grid-template-columns: 1fr; }
  .eco-strip, .steps { grid-template-columns: repeat(2, 1fr); }
  .vs { grid-template-columns: 1fr; }
  .eco-section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .eco-strip, .steps, .funnel { grid-template-columns: 1fr 1fr; }
  .inbox { grid-template-columns: 1fr; }
  .flow-arrow { display: none; }
  .topbar-cta { display: none; }
  .wa-float span { display: none; } .wa-float { padding: 15px; }
}

/* Prints reais do produto */
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #0a110a; box-shadow: var(--shadow); }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.05); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }

/* Formulário de demonstração */
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.demo-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.demo-form input, .demo-form select { min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: var(--text); font: inherit; }
.demo-form input:focus, .demo-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.demo-form select option { color: #111; }
.demo-form button { grid-column: 1 / -1; }
.step.nonum::before { content: "✓"; }
@media (max-width: 980px) { .feat-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .demo-form { grid-template-columns: 1fr; } .feat-grid[style*="repeat(4"] { grid-template-columns: 1fr !important; } }

.form-thanks { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); border: 1px solid rgba(89,212,0,.3); line-height: 1.6; }

/* Seção "Lead em qualquer momento": texto centralizado em cima, imagem grande e centralizada embaixo */
.split.stack { grid-template-columns: 1fr; gap: 40px; text-align: center; }
.split.stack > * { min-width: 0; }
.split.stack > :first-child { max-width: 820px; margin-inline: auto; }
.split.stack > :last-child { width: 100%; }
.split.stack .eco-lead { margin-inline: auto; }
.split.stack .checks { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
@media (max-width: 640px) {
  .split.stack .shot { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .split.stack .shot img { min-width: 760px; }
  .split.stack .shot::after { content: "Arraste para ver a tela completa →"; display: block; padding: 8px 16px; color: var(--muted); font-size: .76rem; border-top: 1px solid var(--line); position: sticky; left: 0; }
}

/* Seção "Veja em ação": só o vídeo, centralizado e responsivo */
.video-solo { max-width: 960px; width: 100%; margin: 40px auto 0; }
.video-solo .video-box video { width: 100%; height: auto; display: block; }

/* Final da home: escolha de interesse que monta a mensagem do WhatsApp */
.interest h2 { line-height: 1.12; }
.interest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 22px; text-align: left; }
.interest-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); color: var(--text); font: inherit; text-align: left; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.interest-card:hover { transform: translateY(-3px); border-color: rgba(89,212,0,.4); }
.interest-card:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
.interest-icon { font-size: 1.5rem; line-height: 1; }
.interest-card b { font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.interest-card small { color: var(--muted); line-height: 1.45; font-size: .86rem; }
.interest-check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: transparent; font-size: .8rem; font-weight: 800; transition: all .18s ease; }
.interest-card[aria-pressed="true"] { border-color: var(--accent-strong); background: var(--accent-soft); box-shadow: 0 14px 36px rgba(89,212,0,.16); }
.interest-card[aria-pressed="true"] .interest-check { background: var(--accent-strong); border-color: var(--accent-strong); color: #071007; }
.interest-status { display: grid; gap: 4px; margin: 0 auto 22px !important; max-width: 640px; color: var(--text); font-size: .98rem; }
.interest-status[hidden] { display: none; }
.interest-hint { color: #d7ffc2; font-weight: 600; }
.interest-status strong { color: var(--accent-strong); }
.interest-cta { max-width: 100%; text-align: center; }
@media (max-width: 980px) { .interest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .interest-grid { grid-template-columns: 1fr; } .interest-cta { width: 100%; } }
.interest h2 { text-wrap: balance; }
.interest h2 .hl { display: block; }
@media (max-width: 400px) { .interest h2 { font-size: 1.75rem; } }

/* Caixinha de seleção real (checkbox) e espaçamento */
.interest-grid { gap: 18px; margin: 12px 0 34px; }
.interest-status { margin: 0 auto 30px !important; }
.interest-box { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.interest-card { cursor: pointer; }
.interest-card:has(.interest-box:focus-visible) { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
.interest-check { width: 24px; height: 24px; border-radius: 7px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.04); color: transparent; }
.interest-check::after { content: "✓"; font-size: .85rem; font-weight: 800; line-height: 1; }
.interest-card.is-on .interest-check { background: var(--accent-strong); border-color: var(--accent-strong); color: #071007; }
.interest-card.is-on { border-color: var(--accent-strong); background: var(--accent-soft); box-shadow: 0 14px 36px rgba(89,212,0,.16); }
@media (max-width: 560px) { .interest-grid { gap: 14px; margin-bottom: 30px; } }

/* Hero da home: frase principal curta e de impacto */
.eco-hero .eco-h1 { font-size: clamp(2rem, 3.75vw, 3rem); line-height: 1.1; text-wrap: balance; overflow-wrap: break-word; }
@media (max-width: 980px) { .eco-hero .eco-h1 { font-size: clamp(1.8rem, 6vw, 3.1rem); } }
@media (max-width: 600px) { .eco-hero .eco-h1 { font-size: clamp(1.6rem, 7.9vw, 2.3rem); } }
