/* ==========================================================================
   COMPONENTS — navbar, visual tecnológico do hero, checklist, mockups,
   cases, formulário, FAQ, CTA fixo mobile
   Sistema de Captação 360° — Nova Identidade Visual
   ========================================================================== */

/* ---------- Navbar Tecnológica (estática/relativa, não fixa) ------------- */
.nav {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }

.logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: -0.02em; line-height: 1;
  color: var(--ink); white-space: nowrap;
}
.logo__symbol {
  width: 32px; height: 32px; object-fit: contain; flex: none;
  filter: drop-shadow(0 2px 6px rgba(96, 138, 185, 0.18));
  transition: transform 0.3s var(--ease);
}
.logo:hover .logo__symbol { transform: scale(1.08) rotate(4deg); }
.logo__text b { color: var(--accent); font-weight: 800; }

.nav__links {
  display: flex; gap: 28px; margin-left: auto;
  font-size: 0.92rem; font-weight: 500; color: var(--ink-2);
}
.nav__links a { position: relative; padding: 8px 0; transition: color 0.2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 99px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; place-items: center;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); transition: border-color 0.2s, background-color 0.2s;
}
.nav__toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav__icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__icon--close { display: block; }

.nav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.15);
}
.nav__panel nav { display: grid; padding-block: 12px 28px; }
.nav__panel nav a:not(.btn) {
  display: block; padding: 16px 0;
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em;
  border-bottom: 1px solid var(--line-light); color: var(--ink);
}
.nav__panel nav a:not(.btn):hover { color: var(--accent); }
.nav__panel .btn { margin-top: 24px; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav__inner { gap: 16px; }
}
@media (min-width: 961px) { .nav__panel { display: none !important; } }

/* ---------- Visual do Hero: Símbolo Oficial 360° e Pilares Orbitais ------ */
.hv {
  position: relative;
  width: 100%; max-width: 620px; margin-inline: auto;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
}

/* Linhas e órbitas de fundo */
.hv__lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.hv__ring { fill: none; stroke: var(--line); stroke-width: 1.2; opacity: 0.8; }
.hv__ring--mid { stroke: rgba(96, 138, 185, 0.15); }
.hv__ring--dash {
  stroke: var(--accent-light); stroke-width: 1.2; stroke-dasharray: 3 7;
  opacity: 0.7; animation: hv-spin 40s linear infinite;
  transform-origin: 50% 50%;
}
.hv__line {
  stroke: rgba(96, 138, 185, 0.25); stroke-width: 1.4; stroke-dasharray: 4 6;
  animation: hv-flow 3s linear infinite;
}
@keyframes hv-flow { to { stroke-dashoffset: -20; } }
@keyframes hv-spin { to { transform: rotate(360deg); } }

/* Núcleo Central: O Símbolo Oficial do Sistema 360° */
.hv__centerpiece {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: hv-float 6s ease-in-out infinite;
}
@keyframes hv-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -54%); }
}

.hv__halo {
  position: absolute; inset: -30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(96, 138, 185, 0.16) 0%, rgba(96, 138, 185, 0.04) 50%, transparent 72%);
  animation: hv-halo 4s ease-in-out infinite alternate;
}
@keyframes hv-halo {
  from { opacity: 0.7; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.15); }
}

.hv__symbol-img {
  position: relative; z-index: 2;
  width: 44cqw; max-width: 260px; height: auto; aspect-ratio: 596 / 616;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(96, 138, 185, 0.22));
}

.hv__badge-core {
  position: relative; z-index: 3; margin-top: -6px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 99px;
  background: #0a0f1d; color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: max(9px, 1.7cqw); font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 8px 20px -4px rgba(10, 15, 29, 0.35);
}
.hv__badge-core::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-light); box-shadow: 0 0 8px var(--accent-light);
}

/* Cards Orbitais de Telemetria */
.hv-card {
  position: absolute; z-index: 4;
  display: flex; flex-direction: column; gap: 0.7em;
  padding: 1.6em 1.2em 1.2em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  font-size: max(9.5px, 1.95cqw);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s;
}
.hv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: rgba(96, 138, 185, 0.35);
}

.hv-card--g { left: 0; top: 1%; width: 48%; }
.hv-card--s { right: 0; top: 6%; width: 44%; }
.hv-card--i { left: 2%; bottom: 0; width: 42%; }
.hv-card--b { right: 0; bottom: 3%; width: 45%; }

.hv-chip {
  position: absolute; top: -0.85em; left: 1em;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.35em 0.9em; border-radius: 99px;
  background: #0a0f1d; color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82em; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2;
  white-space: nowrap;
}
.hv-chip__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
}

.hv-sk { height: 0.55em; border-radius: 99px; background: var(--line); }
.hv-sk--h { height: 0.9em; background: var(--ink); opacity: 0.9; }
.hv-sk--w40 { width: 40%; } .hv-sk--w55 { width: 55%; } .hv-sk--w60 { width: 60%; }
.hv-sk--w70 { width: 70%; } .hv-sk--w80 { width: 80%; } .hv-sk--w90 { width: 90%; }

/* Card Google */
.hv-search {
  display: flex; align-items: center; gap: 0.6em;
  padding: 0.55em 0.85em; border: 1px solid var(--line-2); border-radius: 99px;
  background: var(--bg);
  font-size: 0.9em; color: var(--ink-3); white-space: nowrap; overflow: hidden;
}
.hv-search .i { width: 1.2em; height: 1.2em; color: var(--accent); }
.hv-result { display: grid; gap: 0.4em; }
.hv-result--hit {
  padding: 0.75em 0.85em; border-radius: 0.75em;
  background: var(--accent-50); border: 1px solid var(--accent-100);
}
.hv-result__url { display: flex; align-items: center; gap: 0.5em; font-size: 0.8em; color: var(--ink-3); }
.hv-fav { width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--accent); flex: none; }
.hv-result__title { font-weight: 700; font-size: 0.95em; color: var(--accent-dark); line-height: 1.3; }

/* Card Site */
.hv-browser {
  display: flex; align-items: center; gap: 0.35em;
  padding: 0.45em 0.7em; border-radius: 0.6em; background: var(--bg-alt);
}
.hv-browser i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--line-2); }
.hv-browser span { margin-left: 0.4em; font-size: 0.8em; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.hv-site { display: grid; gap: 0.55em; }
.hv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; margin-top: 0.2em; }
.hv-tiles i { aspect-ratio: 1.45; border-radius: 0.4em; background: var(--bg-alt); border: 1px solid var(--line); }

/* Card Redes Sociais */
.hv-profile { display: flex; align-items: center; gap: 0.75em; font-size: 0.92em; }
.hv-profile b { display: block; margin-bottom: 0.35em; font-weight: 700; font-size: 0.95em; color: var(--ink); }
.hv-avatar {
  width: 2.6em; height: 2.6em; border-radius: 50%; flex: none;
  background: #0a0f1d; color: #fff;
  display: grid; place-items: center;
}
.hv-avatar svg { width: 1.4em; height: 1.4em; }
.hv-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3em; }
.hv-feed i { aspect-ratio: 1; border-radius: 0.35em; background: var(--bg-alt); }
.hv-feed i:nth-child(1) { background: var(--accent); }
.hv-feed i:nth-child(2) { background: var(--accent-100); }
.hv-feed i:nth-child(3) { background: #0a0f1d; }
.hv-feed i:nth-child(4) { background: var(--line-2); }
.hv-feed i:nth-child(5) { background: var(--accent-300); }
.hv-feed i:nth-child(6) { background: var(--bg); border: 1px solid var(--line); }

/* Card Conversão / WhatsApp */
.hv-chat { display: grid; gap: 0.55em; }
.hv-chat__msg {
  padding: 0.6em 0.85em; border-radius: 0.75em;
  font-size: 0.88em; line-height: 1.35;
}
.hv-chat__msg--in {
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-2);
}
.hv-chat__msg--out {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; font-weight: 600;
  justify-self: end;
}

@media (max-width: 640px) {
  .hv {
    aspect-ratio: auto; container-type: normal;
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px 10px; align-items: start;
    padding-top: 10px;
  }
  .hv__lines { display: none; }
  .hv__centerpiece {
    position: relative; left: auto; top: auto; transform: none;
    grid-column: 1 / -1; justify-self: center; margin-bottom: 8px;
    animation: none;
  }
  .hv__symbol-img { width: 190px; max-width: 100%; }
  .hv-card { position: relative; width: auto; font-size: 11px; padding: 1.8em 1em 1em; }
  .hv-chip { position: absolute; top: -0.85em; left: 0.8em; white-space: nowrap; max-width: calc(100% - 1.6em); font-size: 0.75em; text-overflow: ellipsis; overflow: hidden; }
}

/* ---------- Checklist Interativo de Identificação ------------------------ */
.check {
  position: relative;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s, transform 0.25s var(--ease);
}
.check:hover {
  border-color: rgba(96, 138, 185, 0.4);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: none; width: 24px; height: 24px; margin-top: 2px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-2); border-radius: 6px;
  color: transparent; background: var(--surface);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.check__box .i { width: 15px; height: 15px; stroke-width: 2.8; }
.check input:checked ~ .check__box {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: scale(1.08); box-shadow: 0 0 12px rgba(96, 138, 185, 0.35);
}
.check:has(input:checked) {
  border-color: var(--accent-light);
  background: var(--accent-subtle);
}
.check input:focus-visible ~ .check__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check__text { font-size: 1.02rem; line-height: 1.5; color: var(--ink); font-weight: 500; }

/* ---------- Mockups e Cases de Sucesso ----------------------------------- */
.sk { display: block; height: 6px; border-radius: 99px; background: var(--line); }
.sk--d { background: var(--ink); opacity: 0.88; }
.sk--a { background: var(--accent); }
.sk--h { height: 9px; }
.sk--blk { height: 34px; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; }
.w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }

.mk {
  position: absolute; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2);
}
.mk--desk { border-radius: 10px; }
.mk__bar {
  display: flex; align-items: center; gap: 5px;
  height: 20px; padding: 0 10px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.mk__bar i { width: 6px; height: 6px; border-radius: 50%; }
.mk__bar i:nth-child(1) { background: #ef4444; }
.mk__bar i:nth-child(2) { background: #f59e0b; }
.mk__bar i:nth-child(3) { background: #10b981; }
.mk__body { display: grid; gap: 7px; padding: 12px; }
.mk__row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk__row3 i { aspect-ratio: 1.4; border-radius: 5px; background: var(--bg-alt); border: 1px solid var(--line); }
.mk__pill { width: 48px; height: 12px; border-radius: 99px; background: var(--accent); margin-top: 2px; }

.mk--phone {
  border: 4px solid #0a0f1d; border-radius: 20px;
  aspect-ratio: 9 / 18.5; background: var(--surface);
}
.mk--phone::before {
  content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 28%; height: 5px; border-radius: 99px; background: #0a0f1d; z-index: 2;
}
.mk--phone .mk__body { padding: 16px 9px 9px; gap: 6px; }
.mk__profile { display: flex; align-items: center; gap: 6px; }
.mk__avatar { width: 20px; height: 20px; border-radius: 50%; background: #0a0f1d; flex: none; display: grid; place-items: center; color: var(--accent-300); }
.mk__avatar svg { width: 12px; height: 12px; }
.mk__feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.mk__feed i { aspect-ratio: 1; border-radius: 3px; background: var(--bg-alt); }
.mk__feed i:nth-child(1) { background: var(--accent); }
.mk__feed i:nth-child(2) { background: var(--accent-100); }
.mk__feed i:nth-child(3) { background: #0a0f1d; }
.mk__feed i:nth-child(4) { background: var(--line-2); }
.mk__feed i:nth-child(5) { background: var(--accent-300); }
.mk__feed i:nth-child(6) { background: var(--accent-50); }
.mk__feed i:nth-child(7) { background: var(--accent-100); }
.mk__feed i:nth-child(8) { background: #0a0f1d; opacity: 0.8; }
.mk__feed i:nth-child(9) { background: var(--accent); opacity: 0.7; }

.mk--serp { border-radius: 12px; }
.mk__search { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 0.66rem; color: var(--ink-3); }
.mk__search .i { width: 11px; height: 11px; }
.mk__hit { display: grid; gap: 5px; padding: 8px 9px; border-radius: 8px; background: var(--accent-50); border: 1px solid var(--accent-100); }
.mk__hit b { font-size: 0.7rem; font-weight: 700; color: var(--accent-600); line-height: 1.25; }
.mk__hit small { font-size: 0.58rem; color: var(--ink-3); }

.mk--brand { border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.mk__logo { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.mk__logo svg { width: 24px; height: 24px; }
.mk__aa { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.mk__sw { display: flex; gap: 4px; }
.mk__sw i { flex: 1; height: 14px; border-radius: 4px; border: 1px solid var(--line); }
.mk__sw i:nth-child(1) { background: #0a0f1d; }
.mk__sw i:nth-child(2) { background: var(--accent); }
.mk__sw i:nth-child(3) { background: var(--accent-300); }
.mk__sw i:nth-child(4) { background: var(--line-2); }

/* Cards de Cases */
.case {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: rgba(96, 138, 185, 0.3);
}

.case__visual {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  background-color: var(--bg-alt);
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--line);
}
.case__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__ribbon {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 5px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.case__mock { position: absolute; inset: 0; transition: transform 0.5s var(--ease); }
.case:hover .case__mock { transform: scale(1.02); }

.case__mock--site .mk--desk { left: 6%; top: 18%; width: 72%; height: 66%; }
.case__mock--site .mk--phone { right: 7%; bottom: 7%; width: 25%; }
.case__mock--social .mk--p1 { left: 12%; top: 13%; width: 30%; }
.case__mock--social .mk--p2 { left: 45%; top: 24%; width: 27%; }
.case__mock--social .mk--brand { right: 6%; top: 15%; width: 22%; }
.case__mock--search .mk--serp { left: 6%; top: 17%; width: 60%; }
.case__mock--search .mk--desk { right: 6%; bottom: 9%; width: 56%; height: 50%; }

.case__body { display: flex; flex-direction: column; gap: 16px; padding: 26px 26px 28px; flex: 1; }
.case__id { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.case__name { margin-top: 4px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); }
.case__seg { margin-top: 3px; font-size: 0.92rem; color: var(--ink-3); }
.case__rows { display: grid; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.case__row dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.case__row dd { margin-top: 4px; font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); }
.case__row--result dd { color: var(--ink); font-weight: 600; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag {
  padding: 4px 10px; border-radius: 99px;
  background: var(--accent-subtle); border: 1px solid var(--accent-soft);
  font-size: 0.76rem; font-weight: 600; color: var(--accent-dark);
}
.case__link { display: inline-flex; margin-top: 4px; }

/* ---------- Formulário Redesenhado com Identidade Premium ---------------- */
.form-card {
  --ink: #0a0f1d;
  --ink-2: #334155;
  --ink-3: #64748b;
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: #ffffff; color: var(--ink);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.form { display: grid; gap: 20px; }
.form__title {
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.2;
  color: var(--ink);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; align-content: start; }
.field label, .field legend { padding: 0; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.opt-tag { margin-left: 6px; font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; height: 50px; padding: 0 16px;
  background: #f8fafc; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field input::placeholder { color: #94a3b8; }
.field input:hover { border-color: var(--accent-light); background: #ffffff; }
.field input:focus {
  outline: 0; background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(96, 138, 185, 0.14);
}
.field.is-invalid input { border-color: #ef4444; background: #fff5f5; }
.field.is-invalid input:focus { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }
.field__err { font-size: 0.8rem; color: #dc2626; line-height: 1.35; }
.field__err:empty { display: none; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; height: 100%;
  min-height: 48px; padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 0.88rem; font-weight: 500; line-height: 1.3; color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.choice span::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.choice:hover span { border-color: var(--accent-light); background: #ffffff; }
.choice input:checked + span {
  border-color: var(--accent); background: var(--accent-subtle); color: var(--accent-dark); font-weight: 600;
}
.choice input:checked + span::before {
  border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 40%, #fff 42%);
}
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field--choices.is-invalid .choice span { border-color: #fca5a5; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form .btn { margin-top: 6px; }
.form .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form__micro { font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); text-align: center; }
.form__legal { font-size: 0.74rem; line-height: 1.5; color: var(--ink-3); text-align: center; }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.form__error { padding: 12px 14px; border-radius: var(--r-sm); background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.9rem; text-align: center; }

.form-success { display: grid; gap: 14px; justify-items: start; padding-block: 8px; }
.form-success:focus { outline: 0; }
.form-success__ic {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent-50); border: 1px solid var(--accent-100);
  color: var(--accent); display: grid; place-items: center;
}
.form-success__ic .i { width: 28px; height: 28px; stroke-width: 2.4; }
.form-success p { color: var(--ink-2); }
.form-success__demo { padding: 10px 14px; border-radius: var(--r-sm); background: var(--bg-alt); font-size: 0.82rem; color: var(--ink-3) !important; }
.form-success code, .cases__note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
}

/* ---------- FAQ com Design Limpo e Acessível ------------------------------ */
.qa {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.qa:hover { border-color: rgba(96, 138, 185, 0.3); box-shadow: var(--shadow-1); }
.qa[open] { border-color: var(--accent-light); box-shadow: var(--shadow-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; list-style: none;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.4;
  color: var(--ink);
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa summary .i { width: 1.3em; height: 1.3em; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.2s; }
.qa[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.qa p { padding: 0 24px 22px; color: var(--ink-2); line-height: 1.6; animation: qa-in 0.35s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Sticky CTA Mobile (desativado — sem menus/barras fixas) ------ */
.sticky-cta {
  display: none !important;
}

/* Destaque do Formulário --------------------------------------------------- */
.form-card.is-targeted { animation: form-target 1.6s var(--ease); }
@keyframes form-target {
  0%   { box-shadow: 0 0 0 0 rgba(96, 138, 185, 0.6), 0 24px 64px -16px rgba(0, 0, 0, 0.4); }
  60%  { box-shadow: 0 0 0 16px rgba(96, 138, 185, 0), 0 24px 64px -16px rgba(0, 0, 0, 0.4); }
  100% { box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1); }
}
