/* ===== G2B — complementos do CMS (formulário, WhatsApp, destaques de título) ===== */

/* destaques inseridos pelo editor: *contorno*, _rosa_, +verde+, ~roxo~ */
h2 .outline, h3 .outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
h1 .pink, h2 .pink, h3 .pink { color: var(--acc); }
h1 .lime, h2 .lime, h3 .lime { color: var(--lime); }
h1 .purple, h2 .purple, h3 .purple { color: var(--purple); }
.em-acc { color: var(--acc); font-style: normal; }
.em-lime { color: var(--lime); font-style: normal; }
body.no-cursor .cursor { display: none; }

/* ===== cabeçalho com botão de voltar (páginas de leitura) ===== */
.hdr-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.hdr-back {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px;
  padding-left: 20px; border-left: 1px solid var(--line);
}
.hdr-back .circ {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  border: 1px solid rgba(244, 244, 242, 0.3);
  display: grid; place-items: center; font-size: 17px; line-height: 1;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hdr-back .txt { transition: color 0.3s ease; }
.hdr-back:hover .circ { background: var(--acc); border-color: var(--acc); color: #fff; transform: translateX(-4px); }
.hdr-back:hover .txt { color: var(--acc); }

@media (max-width: 860px) {
  .hdr-left { gap: 12px; }
  .hdr-back { padding-left: 12px; }
  .hdr-back .txt { display: none; }
  .hdr-back .circ { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hdr-back .circ { transition: none; }
  .hdr-back:hover .circ { transform: none; }
}

/* o menu pode ter mais itens que os 6 previstos no layout original */
body.menu-open .menu-links li:nth-child(7) { transition-delay: 0.67s; }
body.menu-open .menu-links li:nth-child(8) { transition-delay: 0.74s; }
body.menu-open .menu-links li:nth-child(9) { transition-delay: 0.81s; }
body.menu-open .menu-links li:nth-child(n + 10) { transition-delay: 0.88s; }

/* ===== seção de formulário ===== */
.formsec { padding: 120px 0 140px; background: var(--bg2); }
.formsec-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.formsec-intro h2 {
  font-size: clamp(32px, 4vw, 58px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.02; margin-bottom: 24px;
}
.formsec-intro p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.formsec-contacts { list-style: none; margin-top: 32px; display: grid; gap: 10px; }
.formsec-contacts a { color: var(--ink); text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.formsec-contacts a:hover { color: var(--acc); }

.formsec-form { display: grid; gap: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: rgba(244, 244, 242, 0.04); border: 1px solid var(--line);
  border-radius: 12px; padding: 15px 18px; resize: vertical;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 244, 242, 0.3); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--acc); background: rgba(244, 244, 242, 0.07);
}
.formsec-form .big-btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 16px; color: #151717; background: var(--ink);
  border: 0; cursor: pointer; border-radius: 999px; padding: 20px 44px;
  position: relative; overflow: hidden; transition: color 0.4s ease; font-family: inherit;
}
.formsec-form .big-btn::before {
  content: ""; position: absolute; inset: 0; background: var(--acc);
  border-radius: inherit; transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.formsec-form .big-btn span { position: relative; z-index: 1; }
.formsec-form .big-btn:hover { color: #fff; }
.formsec-form .big-btn:hover::before { transform: none; }

.fmsg { border-radius: 12px; padding: 16px 20px; font-size: 15.5px; display: grid; gap: 4px; }
.fmsg.ok { background: rgba(164, 227, 18, 0.12); border: 1px solid rgba(164, 227, 18, 0.4); color: var(--lime); }
.fmsg.err { background: rgba(240, 20, 140, 0.12); border: 1px solid rgba(240, 20, 140, 0.4); color: #ff8ac7; }

/* honeypot anti-spam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== botão flutuante do WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45); }

@media (max-width: 860px) {
  .formsec { padding: 90px 0 100px; }
  .formsec-grid { grid-template-columns: 1fr; gap: 44px; }
  .frow { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}
