/* ==========================================================================
   ISChat — landing page (Helpex)
   Design system: dark glassmorphism · ciano #00e5ff · roxo #a855f7
   CSS puro, mobile-first, sem dependências.
   Índice: 1 reset/var · 2 base · 3 layout · 4 botões · 5 header/nav
           6 hero + print do painel · 7 seções/cards · 8 IA · 9 ERP · 10 passos
           11 planos · 12 FAQ · 13 formulário · 14 footer · 15 anim/utilitários
   ========================================================================== */

/* ---------- 1. Reset + variáveis ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #06060e;
  --surface-1: rgba(12, 19, 34, .35);
  --surface-2: rgba(12, 19, 34, .55);
  --surface-3: rgba(12, 19, 34, .70);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, .14);
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, .14);
  --text: #e8eefc;
  --text-2: #c2cde3;
  --muted: #93a3bf;
  --muted-2: #8695ae;   /* AA sobre o fundo real (>=4.5:1) */
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(2, 6, 18, .55);
  --glow-cyan: 0 0 0 1px rgba(0, 229, 255, .35), 0 12px 34px rgba(0, 229, 255, .18);
  --wrap: 1180px;
  --header-h: 68px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- 2. Base ------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(15.5px, 0.42vw + 14.8px, 16.5px);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.16; font-weight: 700; letter-spacing: -.02em; color: #fff; }
h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.3rem); }
h3 { font-size: clamp(1.06rem, 1.1vw + .78rem, 1.28rem); }
p { margin: 0 0 1rem; }
a { color: var(--cyan); text-decoration: none; transition: color .18s, opacity .18s; }
a:hover { color: #7df1ff; }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; color: #f2f6ff; }
time { font-style: normal; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #0b1220; color: var(--text); padding: 10px 16px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: -.16em; }
.ico-xs { width: 14px; height: 14px; }

/* ---------- 3. Layout / fundo ------------------------------------------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(0, 229, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 20%, transparent 78%);
}
.bg-glow { position: absolute; display: block; border-radius: 50%; filter: blur(90px); }
.bg-glow-1 { width: 46vw; height: 46vw; top: -14vw; left: -8vw; background: rgba(0, 229, 255, .16); }
.bg-glow-2 { width: 44vw; height: 44vw; top: 22vw; right: -16vw; background: rgba(168, 85, 247, .15); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.wrap.narrow { max-width: 860px; }

.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 14px;
  background: var(--cyan-soft); border: 1px solid rgba(0, 229, 255, .22);
  padding: 6px 13px; border-radius: 999px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0, 229, 255, .55); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0, 229, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); } }

.lead { font-size: clamp(1rem, .5vw + .88rem, 1.1rem); color: var(--text-2); line-height: 1.66; }
.grad {
  background: linear-gradient(96deg, var(--cyan) 8%, #7cc7ff 42%, var(--purple) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}

.grid { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* ---------- 4. Botões ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .97rem; color: var(--text);
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease, background .2s, border-color .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* CTA principal: texto escuro (#06060e) sobre ciano — contraste medido >= 9:1 em todo o gradiente */
.btn-primary {
  background: linear-gradient(120deg, #00e5ff, #38bdf8 58%, #a5b4fc);
  color: #06060e; border-color: rgba(0, 229, 255, .55);
  box-shadow: 0 10px 30px rgba(0, 229, 255, .22);
}
.btn-primary:hover { color: #06060e; box-shadow: 0 14px 38px rgba(0, 229, 255, .32); }
.btn-primary:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

.btn-ghost {
  background: var(--surface-2); border-color: var(--line-strong); color: var(--text);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: rgba(0, 229, 255, .45); box-shadow: 0 10px 26px rgba(0, 229, 255, .12); }

/* Ação secundária: mesma paleta da casa (vidro escuro + borda/glow ciano + glifo do WhatsApp) */
.btn-wa {
  background: var(--surface-2);
  border-color: rgba(0, 229, 255, .35); color: var(--text);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-wa .ico { color: var(--cyan); }
.btn-wa:hover { color: #fff; border-color: rgba(0, 229, 255, .62); box-shadow: 0 12px 30px rgba(0, 229, 255, .16); }

/* ---------- 5. Header + navegação --------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 6, 14, .62);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: rgba(6, 6, 14, .88);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(2, 6, 18, .5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
/* Logo oficial (wordmark horizontal): a proporção vem da própria imagem, então aqui só se define a
   altura por contexto (cabeçalho, rodapé, 404). Sem arredondamento/sombra de ícone: é um wordmark. */
.brand-logo { display: block; width: auto; height: 30px; border-radius: 0; box-shadow: none; }
.site-header .brand-logo { height: 30px; }
.footer-brand .brand-logo { height: 25px; }
.notfound-logo { height: 56px; margin: 0 auto 18px; }
.brand-text { font-size: 1.06rem; }
.brand-text b { color: var(--cyan); font-weight: 700; }

.burger {
  display: none; /* só no mobile (dentro de @media max-width:899px) */
  align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 13px; color: var(--text); cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.burger .ico { width: 22px; height: 22px; }
.burger .ico-burger-close { display: none; }
.burger[aria-expanded="true"] .ico-burger { display: none; }
.burger[aria-expanded="true"] .ico-burger-close { display: inline-block; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; align-items: center; gap: 6px; }
.nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; border-radius: 10px;
  color: var(--text-2); font-weight: 500; font-size: .95rem;
}
.nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .05); }

@media (max-width: 899px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 14px clamp(18px, 4vw, 32px) 22px;
    background: rgba(6, 6, 14, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(2, 6, 18, .6);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav ul a { padding: 14px 12px; font-size: 1.02rem; border-radius: 12px; border: 1px solid transparent; }
  .nav ul a:hover { border-color: var(--line); }
  .nav .btn-wa { margin-top: 8px; }
}

/* ---------- 6. Hero + print do painel ----------------------------------- */
.hero { padding-block: clamp(38px, 6vw, 76px) clamp(40px, 6vw, 80px); position: relative; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 52px); align-items: center; }
.hero-copy h1 { margin-bottom: .5em; }
.hero-copy .lead { max-width: 40em; }
/* SLOGAN (texto vindo de <meta name="slogan"> via app.js) */
.hero-slogan {
  display: inline-block; margin: 0 0 18px; padding-left: 14px;
  border-left: 2px solid rgba(0, 229, 255, .55);
  font-size: clamp(1rem, .55vw + .87rem, 1.18rem); font-weight: 600; color: #dcf6ff;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-cta .btn { flex: 1 1 auto; min-width: 190px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 26px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.hero-chips .ico { width: 17px; height: 17px; color: var(--cyan); }

.hero-mock { position: relative; }

/* Print real do painel em moldura de vidro — mesma linguagem do vidro da página.
   Rodada 8: a moldura é o CONTAINER (padding de 8px = borda interna que descola o
   print do fundo escuro); a imagem entra dentro com raio menor — lê como captura
   de tela dentro de um bezel, não como ilustração. */
.hero-shot { margin: 0; position: relative; isolation: isolate; }
.hero-shot picture {
  display: block; position: relative; max-width: 100%;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 229, 255, .06) inset;
}
.hero-shot img {
  display: block; width: 100%; max-width: 100%; height: auto;
  border-radius: 16px;
}
/* brilho ciano/roxo MUITO sutil atrás (blur radial): descola o print do fundo —
   é luz no container, nunca filtro por cima da imagem */
.hero-shot::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -26px -12px -30px;
  background:
    radial-gradient(58% 58% at 20% 14%, rgba(0, 229, 255, .22), rgba(0, 229, 255, 0) 70%),
    radial-gradient(56% 56% at 86% 90%, rgba(168, 85, 247, .20), rgba(168, 85, 247, 0) 72%);
  filter: blur(44px);
}
/* vidro por cima: brilho no topo + vinheta leve (alinhada ao padding; não apaga o print) */
.hero-shot picture::after {
  content: ""; position: absolute; inset: 8px; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 38px rgba(6, 6, 14, .26), inset 0 1px 0 rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(140, 234, 255, .05), rgba(140, 234, 255, 0) 14%);
}

/* contrato (o mesmo bloco é usado na seção do ERP) */
.mock-kv { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .74rem; padding: 6px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.mock-kv span { color: var(--muted-2); }
.mock-kv b { font-size: .74rem; }
.mock-kv .ok { color: #7fe9ff; }
.mock-kv .warn { color: #d9bbff; }

.mock-caption { text-align: center; font-size: 13px; color: #b7c4dc; margin: 12px 0 0; letter-spacing: .002em; }


/* ---------- 7. Cards / seções ------------------------------------------- */
.card {
  background: linear-gradient(168deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.1vw, 26px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(3, 7, 20, .3);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card p:last-child { margin-bottom: 0; }
.card:hover { transform: translateY(-3px); border-color: rgba(0, 229, 255, .28); box-shadow: 0 18px 44px rgba(3, 7, 20, .45), 0 0 34px rgba(0, 229, 255, .07); }

.ico-box {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px;
  background: rgba(0, 229, 255, .09); border: 1px solid rgba(0, 229, 255, .22);
  color: var(--cyan);
}
.ico-box .ico { width: 22px; height: 22px; }
.ico-box.sm { width: 38px; height: 38px; margin: 0; border-radius: 11px; }
.ico-box.sm .ico { width: 19px; height: 19px; }
.grad-box {
  background: linear-gradient(140deg, rgba(0, 229, 255, .16), rgba(168, 85, 247, .16));
  border-color: rgba(0, 229, 255, .3); color: #8ceaff;
}

.pain { border-left: 2px solid rgba(168, 85, 247, .45); }
.pain .ico-box { background: rgba(168, 85, 247, .1); border-color: rgba(168, 85, 247, .26); color: #d6b4ff; }

/* pilares (grade de funcionalidades) */
.pillars .pilar { border-color: rgba(0, 229, 255, .18); }
.pillars .pilar:hover { border-color: rgba(0, 229, 255, .4); }
.grid-sub {
  margin: clamp(30px, 4vw, 46px) 0 18px; font-size: 1.06rem; font-weight: 700; color: #fff;
}
.grid-sub::before {
  content: ""; display: inline-block; width: 24px; height: 2px; border-radius: 2px; margin-right: 11px;
  vertical-align: middle; background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.sol { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: clamp(16px, 2vw, 22px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sol h3 { margin-bottom: .4em; }
.sol p { color: var(--muted); margin: 0; font-size: .95rem; }

.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 27px; color: var(--text-2); font-size: .93rem; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(0, 229, 255, .28);
}
.ticks li.off { color: var(--muted-2); opacity: .72; }
.ticks li.off::before {
  background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8ba7' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-color: var(--line);
}

/* ---------- 8. Destaque IA ---------------------------------------------- */
.section-ia::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168, 85, 247, .12), transparent 70%);
}
.ai-card { border-color: rgba(168, 85, 247, .22); }
.ai-card:hover { border-color: rgba(168, 85, 247, .42); }
.ai-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
  background: linear-gradient(120deg, rgba(0, 229, 255, .16), rgba(168, 85, 247, .18));
  border: 1px solid rgba(0, 229, 255, .3); color: #a6edfb;
}
.ai-badge-2 { background: rgba(168, 85, 247, .16); border-color: rgba(168, 85, 247, .34); color: #d9bbff; }
.ai-card .ticks { margin-top: 14px; }
.ai-note {
  display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 0;
  padding: 11px 13px; border-radius: 12px; font-size: .86rem; color: var(--text-2);
  background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .22);
}
.ai-note .ico { color: var(--ok); margin-top: 3px; }

/* ---------- 9. Integração ERP ------------------------------------------- */
.erp-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.feature-list b { display: block; margin-bottom: 3px; font-size: 1rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .92rem; }
.muted-note { margin-top: 22px; font-size: .85rem; color: var(--muted-2); }

.erp-card { display: grid; gap: 12px; padding: clamp(16px, 2vw, 22px); }
.erp-head { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.erp-msg { border-radius: 13px; padding: 9px 12px; font-size: .84rem; max-width: 88%; }
.erp-msg p { margin: 0; }
.erp-msg.in { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); justify-self: start; }
.erp-msg.out { background: rgba(0, 229, 255, .12); border: 1px solid rgba(0, 229, 255, .24); justify-self: end; }
.erp-panel { border: 1px solid rgba(0, 229, 255, .22); border-radius: var(--radius-sm); padding: 14px; background: rgba(8, 12, 24, .5); }
.erp-panel-title { display: flex; align-items: center; gap: 7px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); margin-bottom: 10px; }
.erp-btn { margin-top: 14px; }
.erp-btn:disabled { cursor: default; }

/* ---------- 10. Passos -------------------------------------------------- */
.steps { display: grid; gap: clamp(14px, 1.6vw, 20px); counter-reset: s; }
.step { position: relative; padding-top: 30px; }
.step-n {
  position: absolute; top: -18px; left: clamp(18px, 2.1vw, 26px);
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; color: #041018;
  background: linear-gradient(135deg, var(--cyan), #6f8bf5);
  box-shadow: 0 8px 22px rgba(0, 229, 255, .28);
}
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); margin: 0; }
.impl-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: clamp(20px, 3vw, 32px);
  padding: 16px 18px; border-radius: var(--radius); font-size: .94rem; color: var(--text-2);
  background: linear-gradient(120deg, rgba(0, 229, 255, .08), rgba(168, 85, 247, .08));
  border: 1px solid var(--line-strong);
}
.impl-note .ico { color: var(--cyan); margin-top: 3px; }

/* ---------- 11. Planos -------------------------------------------------- */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 0; position: relative; }
.plan h3 { font-size: 1.32rem; margin-bottom: .35em; }
.plan-for { color: var(--muted); font-size: .9rem; min-height: 3em; margin-bottom: 14px; }
.plan .ticks { margin-bottom: 22px; }
.plan .btn { margin-top: auto; }

.price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 18px; color: #fff; }
.plan .price, .card .price { color: #fff; }
.price .cur { font-size: 1rem; color: var(--muted); }
.price .val { font-size: clamp(2.1rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.price .per { font-size: .92rem; color: var(--muted); }

.plan-featured {
  border-color: rgba(0, 229, 255, .42);
  background: linear-gradient(168deg, rgba(16, 26, 46, .78), rgba(12, 19, 34, .55));
  box-shadow: 0 22px 60px rgba(0, 229, 255, .14), 0 0 0 1px rgba(0, 229, 255, .12) inset;
}
.plan-featured:hover { border-color: rgba(0, 229, 255, .6); }
.plan-flag {
  position: absolute; top: -14px; right: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #041018; padding: 6px 13px; border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--purple));
  box-shadow: 0 8px 22px rgba(0, 229, 255, .28);
}
.plan-flag .ico { color: #041018; }

.includes { margin-top: clamp(20px, 3vw, 30px); }
.includes h3 { font-size: 1.1rem; margin-bottom: 14px; }
.includes ul { display: grid; gap: 10px; }
.includes li { display: flex; align-items: flex-start; gap: 9px; font-size: .93rem; color: var(--text-2); }
.includes .ico { color: var(--ok); margin-top: 3px; }

/* ---------- 12. FAQ ----------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-1); overflow: hidden;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s, background .2s;
}
.faq details[open] { border-color: rgba(0, 229, 255, .3); background: var(--surface-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 48px 17px 18px;
  font-weight: 600; font-size: 1rem; color: var(--text); position: relative;
  min-height: 54px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: .95rem; }

/* ---------- 13. CTA + formulário ---------------------------------------- */
.cta-grid { display: grid; gap: clamp(26px, 4vw, 44px); align-items: start; }
.cta-copy .lead { margin-bottom: 22px; }
.wa-big { margin-bottom: 10px; }
.wa-hint { font-size: .82rem; color: var(--muted-2); }
.cta-ticks { margin-top: 20px; }

.form-card { padding: clamp(20px, 2.4vw, 30px); }
.form-card h3 { font-size: 1.3rem; margin-bottom: .25em; }
.form-sub { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }

.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 500; color: var(--text-2); }
.field .req { color: var(--cyan); }
.field .opt { color: var(--muted-2); font-weight: 400; }
.field-row { display: grid; gap: 0; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(6, 10, 20, .6); color: var(--text);
  font-family: inherit; font-size: .96rem; line-height: 1.4;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6c7c96; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .22); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .16); background: rgba(6, 10, 20, .8);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #f87171; }
.err { margin: 6px 0 0; font-size: .82rem; color: #fca5a5; }

.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; }

.form-status {
  margin: 14px 0 0; padding: 13px 15px; border-radius: 12px; font-size: .9rem;
  background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .32); color: #b7f3d8;
}
.form-status.is-error { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .34); color: #fecaca; }
.form-privacy { margin: 14px 0 0; font-size: .78rem; color: var(--muted-2); line-height: 1.5; }

/* ---------- 14. Footer -------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(8, 12, 22, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: clamp(34px, 5vw, 54px); }
.footer-grid { display: grid; gap: clamp(24px, 3vw, 34px); padding-bottom: clamp(26px, 4vw, 40px); }
.footer-brand .brand { margin-bottom: 12px; }
.footer-about { color: var(--muted); font-size: .89rem; max-width: 34em; }
/* SLOGAN repetido no rodapé como tagline */
.footer-tagline { margin: 14px 0 0; font-size: .92rem; font-weight: 600; color: #cdf1ff; }
.footer-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: var(--text-2); font-size: .93rem; }
.footer-col a:hover { color: var(--cyan); }
/* em telas de toque, links do rodapé ganham área de toque confortável (>=44px) */
@media (pointer: coarse) {
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-col ul { gap: 2px; }
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  padding-block: 18px; border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; font-size: .82rem; color: var(--muted-2); }

/* ---------- 15. Animação + breakpoints ---------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .62s cubic-bezier(.22, .7, .3, 1), transform .62s cubic-bezier(.22, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 620px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; gap: 14px; }
}

@media (min-width: 900px) {
  :root { --header-h: 74px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .erp-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* --- Dobra do hero em telas baixas: reduz (não corta) CTA, benefícios e print --- */
@media (min-width: 900px) and (max-height: 900px) {
  .hero { padding-block: 14px 22px; }
  .hero-grid { gap: clamp(20px, 2.6vw, 32px); grid-template-columns: minmax(0, .94fr) minmax(0, 1.16fr); }
  .hero-copy h1 { font-size: clamp(1.5rem, 2.3vw, 2.15rem); margin-bottom: .32em; }
  .hero-slogan { font-size: .97rem; margin-bottom: 11px; padding-left: 12px; }
  .hero-copy .lead { font-size: .94rem; }
  .hero-copy .lead .lead-2 { display: none; }
  .hero-cta { margin-top: 16px; }
  .hero-cta .btn-lg { min-height: 50px; padding: 12px 22px; font-size: .98rem; }
  .hero-chips { margin-top: 13px; }
  .hero-chips li { font-size: .84rem; }
  .hero-chips li:nth-child(n+3) { display: none; }
  .mock-caption { margin-top: 9px; }
}

@media (max-width: 899px) and (max-height: 900px) {
  .hero { padding-block: 18px 24px; }
  .hero-copy h1 { font-size: clamp(1.62rem, 6.4vw, 2.15rem); margin-bottom: .35em; }
  .hero-slogan { font-size: .97rem; margin-bottom: 12px; }
  .hero-cta { margin-top: 18px; }
  .hero-cta .btn-lg { min-height: 50px; }
  .hero-chips { margin-top: 15px; }
}

/* telas de notebook/desktop baixos (768px de altura): hero enxuto para a dobra fechar */
@media (min-width: 900px) and (max-height: 830px) {
  .hero { padding-block: 8px 16px; }
  .mock-caption { margin-top: 7px; }
}

/* ---------- 16. Páginas internas (termos, privacidade) ------------------ */
.legal { padding-block: clamp(30px, 4vw, 52px) clamp(50px, 7vw, 88px); }
.legal h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: .35em; }
.legal h2 { font-size: clamp(1.1rem, 1.2vw + .8rem, 1.35rem); margin-top: 1.9em; }
.legal p { color: var(--text-2); }
.legal-updated { font-size: .85rem; color: var(--muted-2); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 17. 404 ----------------------------------------------------- */
.notfound {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-content: center; justify-items: center; text-align: center;
  gap: 10px; padding: 40px clamp(18px, 4vw, 32px);
}
.notfound h1 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); max-width: 22em; }
.notfound .lead { max-width: 34em; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.err-code {
  font-size: clamp(3.4rem, 10vw, 6rem); font-weight: 800; letter-spacing: -.04em; margin: 6px 0 0;
  background: linear-gradient(100deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   18. Rodada 5 — acabamento
   18.1 hero desktop (topo alinhado + microtextos em uma linha)
   18.2 segundo parágrafo do hero
   18.3 hero no celular (copy enxuta, chips 2×2, mockup compacto)
   18.4 (na rodada 6 o mockup em HTML/CSS virou print real em <picture>)
   18.5 planos: herança, legibilidade dos bullets, alinhamento
   18.6 faixa de confiança
   ========================================================================== */

/* ---------- 18.1 Hero desktop ------------------------------------------- */
@media (min-width: 900px) {
  .hero-grid { align-items: start; }              /* coluna de texto alinhada ao topo do print */
  .hero-chips { gap: 0; align-items: center; }    /* microtextos dos CTAs: uma linha, com separador */
  .hero-chips li { font-size: .85rem; color: var(--text-2); }
  .hero-chips li + li { margin-left: 15px; padding-left: 15px; border-left: 1px solid var(--line-strong); }
}

/* ---------- 18.2 Segundo parágrafo do hero ------------------------------ */
.hero-copy .lead-2 { margin: 18px 0 0; max-width: 40em; font-size: .97rem; color: var(--text-2); }
@media (max-width: 899px) { .hero-copy .lead-2 { display: none; } }                 /* celular: só o parágrafo curto */
@media (min-width: 900px) and (max-height: 900px) { .hero-copy .lead-2 { display: none; } } /* desktop baixo: enxuto */

/* ---------- 18.3 Hero no celular ---------------------------------------- */
@media (max-width: 899px) {
  .hero { padding-block: 6px 16px; }
  .hero-grid { gap: 12px; }
  .hero-copy h1 { font-size: clamp(1.45rem, 5.9vw, 1.9rem); }
  .hero-slogan { font-size: .92rem; margin-bottom: 10px; }
  .hero-copy .lead { margin-bottom: 0; font-size: .98rem; }

  .hero-cta { margin-top: 12px; gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; min-width: 0; min-height: 48px; font-size: .96rem; }

  /* chips de benefícios: 2×2 alinhado, altura uniforme */
  .hero-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
  .hero-chips li {
    display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 5px 10px;
    border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035);
    font-size: .78rem; line-height: 1.22; color: var(--text-2);
  }
  .hero-chips .ico { width: 16px; height: 16px; }

  /* print do painel: abaixo do texto, inteiro, sem corte */
  .hero-mock { margin-top: 6px; }
  .mock-caption { margin-top: 5px; }
}

/* celulares baixos (<=780px de altura): hero mais curto, print inteiro na sequência */
@media (max-width: 899px) and (max-height: 780px) {
  .hero-slogan { display: none; }
  .hero { padding-block: 4px 14px; }
}

/* ---------- 18.5 Planos ------------------------------------------------- */
.plan .ticks { gap: 10px; margin-bottom: 22px; }
.plan .ticks li { font-size: .97rem; line-height: 1.5; color: #d8e3f7; }  /* bullets legíveis (>=15px) */
.plan .ticks li::before { top: .28em; }
.ticks li.ticks-lead { padding-left: 0; color: var(--cyan); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.ticks li.ticks-lead::before { display: none; }                            /* rótulo de herança, não bullet */
.plan-featured { z-index: 1; }
.plan-flag { white-space: nowrap; font-size: .75rem; }   /* caixa alta legível no celular (~12px) */
@media (max-width: 899px) { .grid.plans { gap: 28px; } }                    /* espaço para o selo "Mais escolhido" */
/* Grade de planos: trilha `1fr` tem piso min-content, e o rótulo nowrap do CTA segurava cada
   coluna em ~348px onde cabem ~269–334px → a página rolava de lado entre 900px e 1151px.
   `minmax(0, 1fr)` tira o piso; o CTA passa a quebrar em duas linhas em vez de vazar do botão. */
@media (min-width: 900px) {
  .grid.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.plans .btn { white-space: normal; }
}

/* ---------- 18.6 Faixa de confiança ------------------------------------- */
.trust { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: clamp(22px, 3vw, 32px); }
@media (min-width: 620px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li {
  display: flex; align-items: center; gap: 11px; padding: 13px 15px; line-height: 1.35;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface-1); font-size: .92rem; color: var(--text-2);
}
.trust .ico-box { margin: 0; flex: 0 0 auto; }



/* ==========================================================================
   19. Prova social — provedores que usam o produto (Conecte / Clicnet)
   Chip de vidro escuro: os logos são PNG transparentes (um deles tem texto
   branco), então chip claro apaga o logo. Não colocar fundo branco atrás.
   ========================================================================== */

.logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 270px; max-width: 100%; height: 130px;
  padding: 0 20px;
  border-radius: 18px;
  background: rgba(12, 19, 34, .45);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 30px rgba(3, 7, 20, .32);
}
.logo-chip img {
  display: block; width: auto; height: auto;
  max-width: 200px; max-height: 80px; object-fit: contain;
}

/* ---------- 19.1 Faixa discreta logo abaixo do hero --------------------- */
.faixa-logos { padding-block: clamp(10px, 1.6vw, 20px) 0; }
.faixa-rotulo {
  margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.faixa-chips { display: flex; flex-wrap: wrap; align-items: stretch; gap: clamp(10px, 2vw, 18px); }
.faixa-chips li { flex: 1 1 150px; min-width: 0; display: flex; }
.faixa-chips .logo-chip { width: 100%; height: 96px; padding: 0 14px; }
.faixa-chips .logo-chip img { max-width: 100%; max-height: 62px; }

@media (max-width: 899px) {
  .faixa-rotulo { text-align: center; }
  .faixa-chips { justify-content: center; }
}

@media (min-width: 620px) {
  .faixa-chips li { flex: 0 0 auto; }
  .faixa-chips .logo-chip { width: 270px; height: 130px; padding: 0 20px; }
  .faixa-chips .logo-chip img { max-width: 200px; max-height: 80px; }
}

/* ---------- 19.2 Seção completa (antes dos planos) ---------------------- */
.prov-grid { align-items: stretch; }
.prov-card { display: flex; flex-direction: column; align-items: flex-start; }
.prov-card .logo-chip { margin-bottom: 18px; }
.prov-card h3 { margin-bottom: .3em; }
.prov-card .prov-areas {
  margin: 0 0 .75em; font-size: .82rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--cyan);
}
.prov-card p:last-child { color: var(--muted); }

/* ==========================================================================
   20. Rodada final de acabamento
   20.1 cabeçalho da prova social
   20.2 cards iguais, linhas alinhadas, peso óptico dos logos
   20.3 áreas como pills
   20.4 faixa abaixo do hero
   20.5 mockup: frase e legenda
   ========================================================================== */

/* ---------- 20.1 Cabeçalho da prova social ------------------------------ */
#provedores .section-head .lead { line-height: 1.5; max-width: 720px; }
#provedores .eyebrow { padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; }

/* ---------- 20.2 Cards: mesma altura e linhas alinhadas ----------------- */
#provedores .prov-grid { align-items: stretch; }
#provedores .prov-card { display: grid; grid-template-rows: auto auto auto 1fr; align-content: start; }

#provedores .prov-card .logo-chip {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 320px; height: auto; min-height: 118px;
  padding: 20px 24px; margin-bottom: 18px;
}
#provedores .prov-card .logo-chip img { max-width: 88%; }
#provedores .prov-card .logo-chip img.logo-conecte { max-height: 68px; }
#provedores .prov-card .logo-chip img.logo-clicnet { max-height: 68px; }

#provedores .prov-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 9px; }
#provedores .prov-card > p:last-child { font-size: 15.5px; line-height: 1.6; max-width: 52ch; color: var(--muted); }

/* ---------- 20.3 Áreas atendidas: pills --------------------------------- */
#provedores .prov-areas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  min-height: 26px; margin: 0 0 12px; font-size: 12.5px; letter-spacing: .06em; color: var(--cyan);
}
#provedores .prov-areas .pill {
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #9fe9f7; background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .24);
}
#provedores .prov-areas .prov-sep { font-size: 12px; color: rgba(0, 229, 255, .45); }

/* ---------- 20.4 Faixa discreta abaixo do hero -------------------------- */
.faixa-chips .logo-chip img.logo-conecte { max-height: 44px; }
.faixa-chips .logo-chip img.logo-clicnet { max-height: 44px; }

/* ---------- 20.5 Print do painel: legenda legível ------------------------ */
/* aviso de dados fictícios: 13px e contraste confortável (~11:1), discreto mas
   legível — padronizado no hero e na faixa larga (.mock-caption) */
.mock-caption { font-size: 13px; color: #b7c4dc; }

@media (max-width: 899px) {
  /* chips de benefícios: altura igual nos quatro (2×2), conteúdo centrado */
  .hero-chips { grid-auto-rows: 1fr; }
  .hero-chips li { min-height: 46px; align-items: center; text-align: left; }
}

/* faixa estreita de 2 colunas em que as 4 pills da Conecte quebram em 2 linhas:
   reserva a mesma altura nas duas, para os corpos começarem no mesmo y        */
@media (min-width: 900px) and (max-width: 930px) {
  #provedores .prov-areas { min-height: 66.5px; }
}

/* ==========================================================================
   21. Rodada 6 — print real do painel no hero
   O print é raster: os microtextos do painel só ficam legíveis com largura
   confortável. Por isso o hero do desktop quebra o wrap de 1180px (1260px) e
   a coluna do print fica com ~714px em 1366/1440/1920 (>= 700px).
   ========================================================================== */

/* proporção reservada antes de carregar (evita CLS) */
.hero-shot img { aspect-ratio: 1600 / 1000; object-fit: cover; }  /* desktop 8:5 */

@media (max-width: 899px) {
  .hero-shot img { aspect-ratio: 390 / 844; object-fit: fill; }    /* print de celular 390x844 */
  /* tratamento de "tela de aplicativo": raio maior, borda mais visível, sombra mais
     forte — sem notch nem barra de navegação falsa */
  .hero-shot picture {
    border-radius: 24px;
    border-color: rgba(255, 255, 255, .20);
    box-shadow: 0 34px 74px rgba(0, 0, 0, .62), 0 0 0 1px rgba(0, 229, 255, .08) inset;
  }
  .hero-shot picture::after {
    border-radius: 16px;
    box-shadow: inset 0 0 34px rgba(6, 6, 14, .24), inset 0 1px 0 rgba(255, 255, 255, .10);
  }
}

/* desktop: hero mais largo + coluna do print maior, texto e print no mesmo topo */
@media (min-width: 1200px) {
  .hero-grid {
    max-width: 1260px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(24px, 2.6vw, 36px);
  }
}

/* notebooks/monitores altos (>900px de altura, onde o hero usa o texto completo):
   como o print é 8:5 (mais baixo que o texto), alarga o par para a coluna de texto
   voltar a ~500px e o print ganhar corpo — sem sobra vertical embaixo            */
@media (min-width: 1200px) and (min-height: 901px) {
  .hero-grid {
    max-width: 1400px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  }
}

/* janelas estreitas e altas (ex.: 1280x1024): o print cede largura para a coluna
   de texto não virar um corredor — evita sobra grande embaixo do print        */
@media (min-width: 1200px) and (max-width: 1439px) and (min-height: 901px) {
  .hero-grid {
    max-width: 1260px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
}

/* ==========================================================================
   22. Rodada 7 — faixa larga "o produto de verdade" (painel completo legível)
   O recorte do hero (painel-hero, 8:5) segue a MESMA proporção reservada em 21,
   então o encaixe do hero não muda. Aqui entra só a faixa de leitura: o print
   completo (2880x1620 = 16:9) exibido grande, na mesma moldura de vidro.
   ========================================================================== */

/* container de leitura: ~1120px (o painel fica legível; não estoura o wrap de 1180) */
.painel-band .band-inner { max-width: 1120px; margin-inline: auto; }

.shot-band { margin: 0; position: relative; isolation: isolate; }
.shot-band picture {
  display: block; position: relative; max-width: 100%;
  padding: 8px;                                        /* borda interna: mesma moldura do hero */
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 229, 255, .06) inset;
}
.shot-band img {
  display: block; width: 100%; max-width: 100%; height: auto;
  aspect-ratio: 2880 / 1620; object-fit: cover;      /* reserva 16:9 antes de carregar (evita CLS) */
  border-radius: 16px;
}
/* brilho ciano/roxo atrás da faixa (luz no container, não filtro na imagem) */
.shot-band::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -30px -14px -34px;
  background:
    radial-gradient(60% 60% at 16% 20%, rgba(0, 229, 255, .16), rgba(0, 229, 255, 0) 70%),
    radial-gradient(58% 58% at 88% 86%, rgba(168, 85, 247, .14), rgba(168, 85, 247, 0) 72%);
  filter: blur(48px);
}
/* vidro por cima: brilho no topo + vinheta leve (mesma linguagem do hero-shot) */
.shot-band picture::after {
  content: ""; position: absolute; inset: 8px; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 38px rgba(6, 6, 14, .26), inset 0 1px 0 rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(140, 234, 255, .05), rgba(140, 234, 255, 0) 14%);
}

.band-legend {
  text-align: center; margin: 14px 0 0;
  font-size: clamp(.92rem, 1.15vw, 1.05rem); color: var(--text-2);
}
.shot-band .mock-caption { margin-top: 4px; }

/* tablets/celular: o print completo vira miniatura; limita a largura para ele não
   ficar esticado e mantém a faixa dentro do ritmo vertical da página             */
@media (max-width: 899px) {
  .painel-band .band-inner { max-width: 420px; }
  .band-legend { font-size: .92rem; margin-top: 11px; }
}

/* ==========================================================================
   21. Rodada ISChat (briefing)
   21.1 tipografia (Manrope nos títulos, DM Sans no corpo)
   21.2 ajustes de hero e header
   21.3 tour do produto (3 cenas)
   21.4 funcionários digitais (agentes + salas)
   21.5 barra fixa de CTA
   21.6 painel/modal do formulário (desktop) e bottom sheet (celular)
   ========================================================================== */

/* ---------- 21.1 Tipografia --------------------------------------------- */
:root {
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, .brand-text, .price .val, .stat-n {
  font-family: var(--font-head);
  letter-spacing: -.028em;
}
.hero-copy h1 { letter-spacing: -.032em; }

/* ---------- 21.2 Hero / header ------------------------------------------ */
.hero-micro { margin: 13px 0 0; font-size: .84rem; color: var(--muted-2); }
.nav .btn-wa-icon { padding-inline: 12px; }
.nav .btn-wa-icon .ico { width: 19px; height: 19px; }
.btn-ghost .ico { color: var(--cyan); }

/* ---------- 21.3 Tour do produto ---------------------------------------- */
.tour { display: grid; gap: clamp(28px, 3.6vw, 46px); margin-top: clamp(24px, 3vw, 34px); }
.tour-item { margin: 0; }
.tour-shot {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: rgba(8, 12, 22, .5);
  box-shadow: 0 26px 60px rgba(2, 6, 18, .55);
}
.tour-shot img { display: block; width: 100%; height: auto; }
.tour-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 60px rgba(6, 6, 14, .26);
}
.tour-item figcaption { margin-top: 16px; max-width: 66ch; }
.tour-tag {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 9px;
  padding: 5px 12px; border-radius: 999px; font-size: .71rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: #9fe9f7;
  background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .24);
}
.tour-title { font-size: clamp(1.08rem, 1.5vw, 1.28rem); margin-bottom: .4em; }
.tour-text { margin: 0; color: var(--muted); font-size: .95rem; }
.tour-caption { text-align: center; margin-top: clamp(16px, 2vw, 22px); }
.tour-cta { display: flex; justify-content: center; margin-top: clamp(18px, 2.4vw, 26px); }
@media (min-width: 1000px) {
  .tour-item { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 2.6vw, 40px); align-items: center; }
  .tour-item figcaption { margin-top: 0; }
  .tour-item:nth-child(even) .tour-shot { order: 2; }
}

/* ---------- 21.4 Funcionários digitais ---------------------------------- */
.agentes { margin-top: clamp(22px, 3vw, 32px); }
.agentes .ai-badge { margin-bottom: 12px; }
.agentes .card p { color: var(--muted); }
.salas { margin-top: clamp(14px, 1.8vw, 20px); }
.salas .card p { color: var(--muted); }
.caps { margin-top: clamp(22px, 3vw, 32px); }

/* ---------- 21.4b Recursos: 6 cartões fecham a grade sozinhos ------------ */
/* Com SEIS cartões a grade fecha certa: 3 linhas de 2 (até 1100px, base .grid-2)
   e 2 linhas de 3 (a partir de 1100px) — sem slot vazio. Antes eram 5 e o último
   virava faixa horizontal; ao entrar o cartão do treinamento da IA essa exceção
   saiu (com 6 ela desalinhava a grade). Reintroduzir só se a quantidade mudar. */
@media (min-width: 1100px) {
  #recursos .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 21.5 Barra fixa de CTA (aparece depois do hero) ------------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  border-top: 1px solid var(--line-strong);
  background: rgba(6, 10, 20, .84);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .28s ease;
}
.cta-bar.is-visible { transform: translateY(0); }
.cta-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cta-bar-text { margin: 0; font-size: .87rem; color: var(--text-2); }
.cta-bar-text b { color: #fff; }
body.tem-barra { padding-bottom: 76px; }
@media (max-width: 700px) {
  .cta-bar-text { display: none; }
  .cta-bar-inner { justify-content: center; }
  .cta-bar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }

/* ---------- 21.6 Painel/modal do formulário ------------------------------ */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; }
.sheet[hidden] { display: none; }
.sheet-backdrop {
  position: absolute; inset: 0; background: rgba(3, 6, 14, .66);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; transition: opacity .22s ease;
}
.sheet-panel {
  position: relative; margin: auto; width: min(560px, calc(100% - 2rem));
  max-height: min(88vh, 900px); overflow: auto; padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(168deg, rgba(12, 19, 34, .97), rgba(8, 12, 22, .95));
  box-shadow: 0 30px 80px rgba(2, 6, 18, .72);
  opacity: 0; transform: translateY(14px) scale(.986);
  transition: opacity .22s ease, transform .22s ease;
}
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sheet-backdrop, .sheet-panel { transition: none; } }

.sheet-head { position: relative; padding-right: 44px; }
.sheet-eyebrow {
  margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
}
.sheet-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: .35em; }
.sheet-sub { margin: 0; font-size: .92rem; color: var(--muted); }
.sheet-close {
  position: absolute; top: -8px; right: -8px; width: 46px; height: 46px;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 13px; border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(16, 24, 42, .92); color: #dbe6f8;
  transition: border-color .18s, color .18s, background .18s, box-shadow .18s;
}
.sheet-close:hover, .sheet-close:focus-visible {
  color: #fff; border-color: rgba(0, 229, 255, .55); background: rgba(0, 229, 255, .16);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .18);
}
.sheet-close .ico { width: 22px; height: 22px; }
.sheet-body { margin-top: 18px; }
.sheet-hint { margin: 0; font-size: .92rem; color: var(--muted); }
.sheet-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.sheet-foot a { color: #9fe9f7; text-decoration: underline; text-underline-offset: 3px; }

/* o formulário do modal é o mesmo do fim da página (movido pelo app.js):
   sem título repetido e sem o campo de mensagem */
#sheet-slot > form > h3,
#sheet-slot > form > .form-sub,
#sheet-slot .field-msg { display: none; }

body.sheet-aberto { overflow: hidden; }

/* celular: painel de tela cheia ancorado embaixo */
@media (max-width: 899px) {
  .sheet { align-items: end; }
  .sheet-panel {
    width: 100%; max-height: 94vh; margin: 0; border-radius: 22px 22px 0 0;
    padding-bottom: calc(clamp(20px, 2.4vw, 30px) + env(safe-area-inset-bottom));
    transform: translateY(24px);
  }
  .sheet-close { top: 0; right: 0; }
  .sheet-head { padding-right: 52px; }
}

/* ---------- 21.7 Select (objetivo) e rótulo opcional -------------------- */
.field select {
  width: 100%; min-height: 48px; padding: 12px 42px 12px 14px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(6, 10, 20, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a3bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 15px center / 15px no-repeat;
  color: var(--text); font-family: inherit; font-size: .96rem; line-height: 1.4;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.field select:hover { border-color: rgba(255, 255, 255, .22); }
.field select:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .16); background-color: rgba(6, 10, 20, .8);
}
.field select option { background: #0b111e; color: var(--text); }
.field .opcional { color: var(--muted-2); font-weight: 400; }
.field-hint { margin: -6px 0 15px; font-size: .8rem; color: var(--muted-2); }

/* ---------- Lockup do ERP HNET (seção de integração) -------------------- */
.erp-lockup {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin: 20px 0 4px; padding: 13px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.erp-lockup-logo { display: block; height: 26px; width: auto; }
.erp-lockup-text { flex: 1 1 auto; min-width: 0; font-size: .88rem; color: var(--muted); }
@media (min-width: 620px) { .erp-lockup-logo { height: 30px; } }

/* ---------- Celulares estreitos: botão quebra o texto em vez de estourar --- */
@media (max-width: 480px) {
  .btn { white-space: normal; max-width: 100%; text-align: center; text-wrap: balance; }
  .btn-lg { padding-inline: 16px; }
}
