/* ============================================================
   CASPORT — Landing Page | Portaria Autônoma
   Solução de portaria autônoma e controle de acesso da CASPSEG
   Identidade: Preto / Branco / Azul Tech #13A6F0
   ============================================================ */

.cp-section {
  position: relative;
  padding-block: 84px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.cp-section--alt { background: var(--surface-2); border-block: 1px solid var(--line-soft); }
.cp-container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.cp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tech-blue);
}
.cp-kicker::before { content: ""; width: 22px; height: 1px; background: var(--tech-blue); }

.cp-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.15;
  margin: 16px 0 0;
}
.cp-title .accent { color: var(--tech-blue); }
.cp-title--center { text-align: center; }
.cp-head--center { text-align: center; }
.cp-head--center .cp-kicker { justify-content: center; }
.cp-sub {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.cp-head--center .cp-sub { margin-inline: auto; }

/* ---------- Botões ---------- */
.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.cp-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.cp-btn--primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--blue-bright), var(--tech-blue));
  box-shadow: 0 0 26px rgba(19, 166, 240, 0.45);
}
.cp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(19, 166, 240, 0.7); }
.cp-btn--ghost {
  color: var(--white);
  border-color: rgba(19, 166, 240, 0.5);
  background: rgba(19, 166, 240, 0.06);
}
.cp-btn--ghost:hover { background: rgba(19, 166, 240, 0.16); transform: translateY(-2px); }
.cp-btn--wa { color: var(--white); border-color: rgba(37, 211, 102, 0.5); background: rgba(37, 211, 102, 0.1); }
.cp-btn--wa:hover { background: rgba(37, 211, 102, 0.22); transform: translateY(-2px); }

/* ---------- HERO ---------- */
.cp-hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 88px;
  background:
    radial-gradient(900px 480px at 82% 12%, rgba(19, 166, 240, 0.18), transparent 60%),
    radial-gradient(700px 420px at 8% 88%, rgba(19, 166, 240, 0.10), transparent 60%),
    var(--surface-1);
}
.cp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.cp-hero-logo { max-width: 460px; width: 100%; height: auto; margin: 0 auto 40px; display: block; filter: drop-shadow(0 0 22px rgba(19, 166, 240, 0.35)); }
.cp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tech-blue);
  margin-bottom: 18px;
}
.cp-hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tech-blue); box-shadow: 0 0 12px var(--tech-blue); }
.cp-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  margin: 0 0 20px;
}
.cp-hero h1 .accent { color: var(--tech-blue); }
.cp-hero p.lead { font-size: 17px; line-height: 1.65; color: var(--text-muted); max-width: 620px; margin: 0 0 30px; }
.cp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.cp-hero-micro {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cp-hero-micro svg { width: 15px; height: 15px; color: var(--tech-blue); }

/* Smartphone mockup (CSS) */
.cp-phone {
  position: relative;
  width: 380px;
  max-width: 100%;
  margin-inline: auto;
  background: linear-gradient(165deg, #0d1b27, #06090d);
  border: 1px solid rgba(19, 166, 240, 0.35);
  border-radius: 44px;
  padding: 16px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(19, 166, 240, 0.25);
}
.cp-phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
}
.cp-phone-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.cp-phone-brand { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; color: var(--tech-blue); }
.cp-phone-bars { display: flex; gap: 3px; }
.cp-phone-bars span { width: 3px; height: 12px; border-radius: 2px; background: var(--tech-blue); opacity: 0.85; }
.cp-phone-bars span:nth-child(2) { height: 8px; }
.cp-phone-bars span:nth-child(3) { height: 5px; }
.cp-call {
  text-align: center;
  padding: 12px 18px 24px;
}
.cp-call-avatar {
  width: 96px;
  height: 96px;
  margin: 8px auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(56, 194, 255, 0.6), rgba(10, 127, 192, 0.25));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--white);
}
.cp-call-avatar svg { width: 44px; height: 44px; }
.cp-call h4 { color: var(--white); font-size: 17px; margin: 0 0 4px; }
.cp-call .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--blue-bright); }
.cp-call .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.cp-call-visitor {
  margin: 16px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(19, 166, 240, 0.08);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: left;
}
.cp-call-actions { display: grid; gap: 9px; }
.cp-call-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cp-call-actions svg { width: 15px; height: 15px; }
.cp-call-actions .view { background: rgba(19, 166, 240, 0.14); border-color: rgba(19, 166, 240, 0.4); }
.cp-call-actions .open {
  background: linear-gradient(135deg, var(--blue-bright), var(--tech-blue));
  color: var(--black);
  box-shadow: 0 0 18px rgba(19, 166, 240, 0.5);
}
.cp-call-actions a:hover { transform: translateY(-1px); }

/* ---------- Cartões de destaque (O que é) ---------- */
.cp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.cp-feature {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cp-feature:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 18px 44px -18px rgba(19, 166, 240, 0.4);
}
.cp-feature .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(19, 166, 240, 0.12);
  border: 1px solid var(--line);
  color: var(--tech-blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.cp-feature .ico svg { width: 22px; height: 22px; }
.cp-feature h3 { font-size: 16.5px; color: var(--white); margin: 0 0 8px; }
.cp-feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- Comparativo ---------- */
.cp-compare {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cp-compare-col {
  border-radius: var(--radius-md);
  padding: 28px 26px;
  border: 1px solid var(--line-soft);
  background: var(--surface-3);
}
.cp-compare-col h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cp-compare-col h3 svg { width: 18px; height: 18px; }
.cp-compare-col--old h3 { color: var(--text-muted); }
.cp-compare-col--new h3 { color: var(--tech-blue); }
.cp-compare-col--new { border-color: rgba(19, 166, 240, 0.35); background: linear-gradient(170deg, #0d2130, var(--surface-3) 55%); }
.cp-compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.cp-compare li { display: flex; gap: 10px; font-size: 14px; color: var(--text-body); line-height: 1.5; }
.cp-compare li svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; }
.cp-compare li.x svg { color: var(--text-muted); }
.cp-compare li.ok svg { color: var(--tech-blue); }
.cp-compare-note { margin-top: 26px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ---------- Como funciona (etapas) ---------- */
.cp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; counter-reset: cpstep; }
.cp-step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cp-step::before {
  counter-increment: cpstep;
  content: "0" counter(cpstep);
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--tech-blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 14px;
}
.cp-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--tech-blue);
  border-right: 2px solid var(--tech-blue);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}
.cp-step:last-child::after { display: none; }
.cp-step:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 18px 44px -18px rgba(19, 166, 240, 0.4); }
.cp-step h3 { font-size: 16px; color: var(--white); margin: 0 0 8px; }
.cp-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- App / cartões ---------- */
.cp-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cp-app-card {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cp-app-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 18px 44px -18px rgba(19, 166, 240, 0.4); }
.cp-app-card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(19, 166, 240, 0.12);
  border: 1px solid var(--line);
  color: var(--tech-blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.cp-app-card .ico svg { width: 22px; height: 22px; }
.cp-app-card h3 { font-size: 16px; color: var(--white); margin: 0 0 8px; }
.cp-app-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- Mídia (vídeo/imagem) ---------- */
.cp-media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.cp-media-copy p { font-size: 15.5px; color: var(--text-muted); line-height: 1.7; margin: 0 0 14px; }
.cp-media-flow { display: grid; gap: 10px; margin-top: 22px; }
.cp-media-flow span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}
.cp-media-flow svg { width: 16px; height: 16px; color: var(--tech-blue); flex: 0 0 16px; }
.cp-impact {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-left: 14px;
  border-left: 3px solid var(--tech-blue);
}
.cp-visual-zone {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 260px at 70% 20%, rgba(19, 166, 240, 0.16), transparent 60%),
    var(--surface-3);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cp-visual-zone .cam-ico { color: var(--tech-blue); opacity: 0.9; }
.cp-visual-zone .cam-ico svg { width: 64px; height: 64px; }
.cp-visual-zone .frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(19, 166, 240, 0.35);
  border-radius: 14px;
  pointer-events: none;
}
.cp-visual-zone .scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tech-blue), transparent);
  box-shadow: 0 0 14px var(--tech-blue);
  animation: cp-scan 3.2s ease-in-out infinite;
}
@keyframes cp-scan { 0%, 100% { top: 12%; } 50% { top: 86%; } }
.cp-live-badge {
  position: absolute;
  top: 26px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.cp-live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 8px #ef4444; animation: cp-blink 1.4s infinite; }
@keyframes cp-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- WhatsApp ---------- */
.cp-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.cp-channel-list { display: grid; gap: 12px; }
.cp-channel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--text-body);
}
.cp-channel-list svg { width: 18px; height: 18px; color: #25d366; flex: 0 0 18px; }
.cp-chat {
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.cp-chat-msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.cp-chat-msg--in { justify-self: start; background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--text-body); }
.cp-chat-msg--out { justify-self: end; background: rgba(19, 166, 240, 0.16); border: 1px solid var(--line); color: var(--white); }
.cp-chat-msg b { display: block; margin-bottom: 2px; }

/* ---------- Métodos de acesso ---------- */
.cp-methods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.cp-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cp-method:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 18px 44px -18px rgba(19, 166, 240, 0.4); }
.cp-method .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(19, 166, 240, 0.12); border: 1px solid var(--line); color: var(--tech-blue); display: grid; place-items: center; }
.cp-method .ico svg { width: 20px; height: 20px; }
.cp-method span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-body); }

/* ---------- Convites ---------- */
.cp-invite { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.cp-invite-flow { display: grid; gap: 0; }
.cp-invite-flow li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--text-body); padding: 12px 0; position: relative; }
.cp-invite-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px; top: calc(100% - 6px);
  width: 2px; height: 12px;
  background: var(--line);
}
.cp-invite-flow .n {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: rgba(19, 166, 240, 0.14);
  border: 1px solid var(--line);
  color: var(--tech-blue);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
}
.cp-qr {
  width: 200px;
  height: 200px;
  margin-inline: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    var(--surface-3);
  background-size: 22px 22px;
  display: grid;
  place-items: center;
  color: var(--tech-blue);
}
.cp-qr svg { width: 84px; height: 84px; }

/* ---------- Relatórios ---------- */
.cp-reports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.cp-report { padding: 24px 20px; border-radius: var(--radius-md); background: var(--surface-3); border: 1px solid var(--line-soft); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.cp-report:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 18px 44px -18px rgba(19, 166, 240, 0.4); }
.cp-report .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(19, 166, 240, 0.12); border: 1px solid var(--line); color: var(--tech-blue); display: grid; place-items: center; margin-bottom: 14px; }
.cp-report .ico svg { width: 20px; height: 20px; }
.cp-report h3 { font-size: 15px; color: var(--white); margin: 0 0 6px; }
.cp-report p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------- Segurança ---------- */
.cp-security-list { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cp-security-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-body); padding: 15px 18px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--line-soft); }
.cp-security-list svg { width: 18px; height: 18px; color: var(--tech-blue); flex: 0 0 18px; }
.cp-quote {
  margin: 34px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  font-style: italic;
  border-top: 1px solid var(--line-soft);
  padding-top: 30px;
}

/* ---------- Benefícios (listas) ---------- */
.cp-benefits { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cp-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--text-body); padding: 15px 18px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--line-soft); }
.cp-benefits svg { width: 18px; height: 18px; color: var(--tech-blue); flex: 0 0 18px; margin-top: 2px; }

/* ---------- Tabs ---------- */
.cp-tabs { margin-top: 44px; }
.cp-tab-list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-soft); }
.cp-tab {
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cp-tab:hover { color: var(--white); }
.cp-tab[aria-selected="true"] {
  color: var(--black);
  background: linear-gradient(135deg, var(--blue-bright), var(--tech-blue));
  box-shadow: 0 0 18px rgba(19, 166, 240, 0.5);
}
.cp-tab-panels { margin-top: 26px; }
.cp-tab-panel { display: none; }
.cp-tab-panel[aria-hidden="false"] { display: block; animation: cp-fade 0.35s ease; }
@keyframes cp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Fluxo CASPSEG ---------- */
.cp-flow { margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cp-flow-step { text-align: center; padding: 20px 12px; border-radius: var(--radius-md); background: var(--surface-3); border: 1px solid var(--line-soft); position: relative; }
.cp-flow-step .n { font-family: var(--font-display); font-size: 13px; color: var(--tech-blue); letter-spacing: 0.12em; }
.cp-flow-step h4 { font-size: 13.5px; color: var(--white); margin: 8px 0 0; text-transform: uppercase; letter-spacing: 0.06em; }
.cp-flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--tech-blue);
  border-right: 2px solid var(--tech-blue);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}
.cp-flow-step:last-child::after { display: none; }

/* ---------- Banner de conversão ---------- */
.cp-banner {
  position: relative;
  overflow: hidden;
  margin-top: 70px;
  padding: 52px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(19, 166, 240, 0.22), transparent 60%),
    linear-gradient(170deg, #0d2130, var(--surface-3) 60%);
}
.cp-banner h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--white); font-size: clamp(20px, 3vw, 30px); margin: 0 0 10px; }
.cp-banner p { color: var(--text-muted); font-size: 15px; margin: 0 0 26px; }

/* ---------- FAQ ---------- */
.cp-faq { max-width: 780px; margin: 44px auto 0; display: grid; gap: 12px; }
.cp-faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--surface-3); overflow: hidden; }
.cp-faq-item.open { border-color: var(--line); }
.cp-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.cp-faq-q .plus { flex: 0 0 18px; width: 18px; height: 18px; position: relative; }
.cp-faq-q .plus::before, .cp-faq-q .plus::after { content: ""; position: absolute; background: var(--tech-blue); transition: transform 0.25s ease; }
.cp-faq-q .plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.cp-faq-q .plus::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.cp-faq-item.open .plus::after { transform: scaleY(0); }
.cp-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.cp-faq-a p { margin: 0; padding: 0 22px 20px; font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ---------- CTA final + formulário ---------- */
.cp-cta-final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 15% 10%, rgba(19, 166, 240, 0.2), transparent 60%),
    radial-gradient(600px 320px at 90% 90%, rgba(19, 166, 240, 0.12), transparent 60%),
    var(--surface-1);
}
.cp-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cp-cta-grid h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--white); font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 16px; }
.cp-cta-grid .cp-sub { margin: 0 0 30px; }
.cp-form {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.cp-form h3 { color: var(--white); font-size: 19px; margin: 0 0 6px; }
.cp-form .form-sub { color: var(--text-muted); font-size: 13.5px; margin: 0 0 22px; }
.cp-form .field { margin-bottom: 14px; }
.cp-form .field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-body); margin-bottom: 7px; }
.cp-form .field input, .cp-form .field select, .cp-form .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.cp-form .field textarea { resize: vertical; min-height: 88px; }
.cp-form .field input:focus, .cp-form .field select:focus, .cp-form .field textarea:focus { border-color: var(--tech-blue); }
.cp-form .field select option { background: var(--surface-3); }
.cp-form .cp-btn { width: 100%; margin-top: 6px; }
.cp-form .micro { font-size: 12.5px; color: var(--text-muted); margin: 16px 0 0; text-align: center; line-height: 1.5; }
.cp-form .form-msg { margin-top: 14px; font-size: 13.5px; text-align: center; }
.cp-form .form-msg.ok { color: #4ade80; }
.cp-form .form-msg.err { color: #f87171; }

/* ---------- Disclaimer ---------- */
.cp-disclaimer {
  border-top: 1px solid var(--line-soft);
  background: var(--surface-2);
  padding-block: 40px;
}
.cp-disclaimer .cp-container { max-width: 900px; }
.cp-disclaimer p { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; margin: 0 0 12px; }
.cp-disclaimer p:last-child { margin-bottom: 0; }

/* ---------- CTA flutuante ---------- */
.cp-float-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 90px);
  z-index: 80;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cp-float-cta.show { transform: translate(-50%, 0); }
.cp-float-cta .cp-btn { padding: 13px 22px; font-size: 12.5px; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8); }
.cp-float-cta .label-desktop { display: inline; }
.cp-float-cta .label-mobile { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cp-features { grid-template-columns: repeat(2, 1fr); }
  .cp-steps { grid-template-columns: repeat(2, 1fr); }
  .cp-steps .cp-step::after { display: none; }
  .cp-methods { grid-template-columns: repeat(3, 1fr); }
  .cp-reports { grid-template-columns: repeat(2, 1fr); }
  .cp-flow { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cp-flow .cp-flow-step::after { display: none; }
}

@media (max-width: 820px) {
  .cp-section { padding-block: 64px; }
  .cp-hero { padding-block: 48px 64px; }
  .cp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cp-media, .cp-channels, .cp-invite, .cp-cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .cp-compare { grid-template-columns: 1fr; }

  /* Blocos de texto corrido: justificados p/ alinhamento equilibrado no mobile */
  .cp-hero p.lead,
  .cp-sub,
  .cp-feature p,
  .cp-step p,
  .cp-app-card p,
  .cp-media-copy p,
  .cp-report p,
  .cp-banner p,
  .cp-faq-a p { text-align: justify; }
}

@media (max-width: 600px) {
  .cp-container { width: min(var(--container), 100% - 32px); }
  .cp-features, .cp-card-grid { grid-template-columns: 1fr; }
  .cp-steps, .cp-methods, .cp-reports, .cp-benefits, .cp-security-list { grid-template-columns: 1fr; }
  .cp-flow { grid-template-columns: repeat(2, 1fr); }
  .cp-tab-list { width: 100%; border-radius: 16px; }
  .cp-tab { flex: 1; padding: 11px 10px; font-size: 12px; }
  .cp-float-cta .label-desktop { display: none; }
  .cp-float-cta .label-mobile { display: inline; }
  .cp-float-cta { bottom: 12px; }
  .cp-cta-final { padding-block: 60px; }
  .cp-banner { padding: 40px 22px; }

  /* Botões e títulos proporcionais à largura no mobile */
  .cp-hero h1 { font-size: clamp(24px, 7vw, 34px); line-height: 1.14; }
  .cp-hero p.lead { font-size: 15.5px; margin-bottom: 24px; }
  .cp-title { font-size: clamp(20px, 6.2vw, 30px); line-height: 1.18; }
  .cp-hero-cta { flex-direction: column; align-items: stretch; }
  .cp-hero-cta .cp-btn { width: 100%; padding: 14px 18px; font-size: 12px; letter-spacing: 0.04em; }

  /* Impede que conteúdo largo (eyebrow/título) estique a coluna além da tela */
  .cp-hero-eyebrow { display: flex; flex-wrap: wrap; }
  .cp-hero-grid, .cp-hero-grid > * { min-width: 0; }
}

/* Telas muito estreitas: fluxo empilha p/ caber palavras longas (ex.: "Configuração") */
@media (max-width: 359.98px) {
  .cp-flow { grid-template-columns: 1fr; }
}

/* ---------- Acessibilidade / movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .cp-visual-zone .scan, .cp-live-badge::before { animation: none; }
  .cp-tab-panel[aria-hidden="false"] { animation: none; }
}
