/* Captação de leads e seções de conversão da landing (carregado depois de styles.css) */

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

/* ── NAV ───────────────────────────────────────── */
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 24px; }

/* ── HERO ──────────────────────────────────────── */
/* width/height no <img> reservam o espaço (CLS), mas sem height:auto a altura do atributo distorce a imagem */
.hero-visual img, img.hero-img { height: auto; max-width: 100%; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding: 0; list-style: none; }
.hero-trust li { font-size: 14px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hero-trust li::before { content: "✓"; color: var(--orange); font-weight: 900; }
.btns { flex-wrap: wrap; }
.btns .btn-cta, .btns .btn-demo { padding: 14px 22px; }
.hero-link { display: inline-block; margin-top: 16px; color: var(--muted); font-weight: 700; font-size: 15px; }
.hero-link:hover { color: var(--orange); }

/* ── FUNCIONALIDADES ───────────────────────────── */
.feat-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: #fff; border-radius: 18px; padding: 30px 28px; border: 2px solid #fff;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06); transition: 0.25s;
}
.feat-card:hover { transform: translateY(-6px); border-color: var(--orange-dark); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12); }
.feat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.feat-head .card-icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; background: #fff4eb; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-head .card-icon img { width: 26px; }
.feat-card h3 { font-size: 19px; font-weight: 800; }
.feat-lead { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 8px 0 14px; }
.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li { position: relative; padding: 6px 0 6px 26px; font-size: 15px; line-height: 1.45; color: var(--text); }
.feat-list li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--orange); font-weight: 900; }

/* ── COMO FUNCIONA ─────────────────────────────── */
.how { padding: 90px 5%; background: #fff; }
.how-steps { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: passo; }
.how-step { text-align: center; padding: 8px 12px; position: relative; }
.how-step::before {
  counter-increment: passo; content: counter(passo);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  width: 56px; height: 56px; border-radius: 50%; background: #fff4eb; border: 3px solid var(--orange);
  color: var(--orange-dark); font-weight: 900; font-size: 24px;
}
.how-step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ── COMPARATIVO ───────────────────────────────── */
.compare { padding: 90px 5%; background: var(--gray); }
.compare-table { max-width: 900px; margin: 0 auto; width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid #eee; vertical-align: top; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 15px; font-weight: 800; background: #fafafa; }
.compare-table thead th.is-big { background: #fff4eb; color: var(--orange-dark); border-bottom: 3px solid var(--orange); }
.compare-table td:first-child { font-weight: 700; width: 32%; }
.compare-table td.is-big { background: #fffaf5; font-weight: 700; }
.compare-table td.is-big::before { content: "✓ "; color: var(--orange); font-weight: 900; }
.compare-note { max-width: 900px; margin: 14px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

/* ── PLANOS: lista colapsável ──────────────────── */
.plan-features { max-height: none; overflow: visible; }
.plan-features li.extra { display: none; }
.plan-features.is-open li.extra { display: flex; }
.plan-more {
  display: block; margin: 10px auto 18px; background: none; border: 0; cursor: pointer;
  color: var(--orange-dark); font-family: "Nunito", sans-serif; font-weight: 800; font-size: 14px; text-decoration: underline;
}
.plan-more:hover { color: var(--orange); }

/* ── FAQ ───────────────────────────────────────── */
.faq { padding: 90px 5%; background: #fff; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 2px solid #eee; border-radius: 14px; background: #fff; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--orange); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 26px; line-height: 1; font-weight: 700; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ── BARRA FIXA MOBILE ─────────────────────────── */
.sticky-cta { display: none; }

/* CTA final com dois botões */
.final-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.final-cta-btns .btn-white { margin: 0; }
.btn-ghost-white { display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; color: #fff; background: transparent; border-radius: 20px; padding: 14px 32px; font-weight: 700; font-size: 1rem; font-family: "Nunito", sans-serif; cursor: pointer; transition: 0.2s; text-decoration: none; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

/* ── PÁGINAS DE SEGMENTO ───────────────────────── */
/* Pills de segmento: links clicáveis (o "Entre outros..." é só rótulo e não reage ao hover) */
a.pill {
  display: inline-block; text-decoration: none; color: var(--text); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
a.pill:hover, a.pill:focus-visible {
  background: var(--orange); border-color: var(--orange); color: #fff;
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 107, 0, 0.30);
}
a.pill:focus-visible { outline: 3px solid rgba(255, 107, 0, 0.35); outline-offset: 2px; }
a.pill:active { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255, 107, 0, 0.25); }
span.pill:hover { background: var(--gray); border-color: #eee; color: var(--text); }
@media (prefers-reduced-motion: reduce) { a.pill, a.pill:hover, a.pill:active { transition: none; transform: none; } }
.seg-hero { max-width: 900px; margin: 0 auto; padding: 56px 5% 64px; text-align: center; }
.seg-breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.seg-breadcrumb a { color: var(--muted); }
.seg-breadcrumb a:hover { color: var(--orange); }
.seg-hero h1 { font-size: 42px; font-weight: 900; line-height: 1.15; margin-bottom: 18px; }
.seg-hero h1 span { color: var(--orange); }
.seg-hero > p { font-size: 19px; color: var(--muted); line-height: 1.7; margin-bottom: 30px; }
.seg-btns { justify-content: center; }
.seg-trust { justify-content: center; }
.seg-grid { grid-template-columns: repeat(2, 1fr); max-width: 960px; }
.seg-incluso { max-width: 860px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.seg-incluso li { position: relative; padding: 10px 14px 10px 36px; background: #fff9f4; border-radius: 10px; font-size: 15px; font-weight: 600; }
.seg-incluso li::before { content: "✓"; position: absolute; left: 14px; color: var(--orange); font-weight: 900; }
.footer-segs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.75); }
.footer-segs a { color: #fff; text-decoration: none; opacity: .85; }
.footer-segs a:hover { opacity: 1; text-decoration: underline; }

/* ── APP DE GARÇOM ─────────────────────────────── */
.garcom-sec { padding: 90px 5%; background: #fffaf5; }
.garcom-sec .section-head p { max-width: 780px; margin-left: auto; margin-right: auto; }
.garcom-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.garcom-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.garcom-list li { position: relative; padding: 13px 16px 13px 44px; background: #fff; border: 2px solid #ffe3cc; border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.garcom-list li strong { color: var(--text); }
.garcom-list li::before { content: "✓"; position: absolute; left: 16px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: #fff4eb; color: var(--orange-dark); font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.garcom-flow { list-style: none; counter-reset: gf; padding: 26px 24px; margin: 0; background: #fff; border: 2px solid var(--orange); border-radius: 18px; box-shadow: 0 8px 30px rgba(255, 107, 0, 0.12); display: grid; gap: 18px; }
.garcom-flow li { counter-increment: gf; position: relative; padding-left: 52px; }
.garcom-flow li::before { content: counter(gf); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff4eb; border: 2px solid var(--orange); color: var(--orange-dark); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.garcom-flow li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: -14px; width: 2px; background: #ffd9b8; }
.garcom-flow strong { display: block; font-size: 16px; }
.garcom-flow span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.garcom-cta { text-align: center; margin-top: 34px; }
.seg-detalhe-grid { grid-template-columns: repeat(3, 1fr); }

/* ── IA E BANCO DE IMAGENS ─────────────────────── */
.ia-sec { padding: 90px 5%; background: #fff; }
.ia-grid { grid-template-columns: repeat(3, 1fr); }

/* ── RESPONSIVO ────────────────────────────────── */
@media (max-width: 1000px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-box { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  .nav-links { display: none; }
  .garcom-wrap { grid-template-columns: 1fr; }
  .seg-detalhe-grid, .ia-grid { grid-template-columns: repeat(2, 1fr); }
  /* Tráfego pago: promessa e CTA primeiro no mobile; a imagem vem depois */
  .hero { padding-top: 24px; }
  .hero-visual { order: 0; margin-top: 56px; }
  .hero-text h1 { margin-top: 0; }
}
@media (max-width: 700px) {
  .how-steps { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 12px 12px; font-size: 14px; }
  .compare-table td:first-child { width: 34%; }
  .sticky-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--orange);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.1);
  }
  .sticky-cta a, .sticky-cta button { flex: 1; text-align: center; font-family: "Nunito", sans-serif; font-weight: 800; font-size: 15px; border-radius: 12px; padding: 13px 8px; cursor: pointer; text-decoration: none; }
  .sticky-cta .sc-main { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
  .sticky-cta .sc-sec { background: #fff; color: var(--orange-dark); border: 2px solid var(--orange); }
  body { padding-bottom: 72px; }
  .whatsapp-flutuante { bottom: 84px; }
  .whatsapp-flutuante .balao { display: none; }
}
@media (max-width: 600px) {
  .seg-hero h1 { font-size: 28px; }
  .seg-hero > p { font-size: 17px; }
  .seg-grid, .seg-incluso, .seg-detalhe-grid, .ia-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .lead-box h2 { font-size: 24px; }
  .btns .btn-cta, .btns .btn-outline { flex: 1 1 100%; text-align: center; }
  .btns { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
