@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/formularios/fonts/fraunces-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/formularios/fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/formularios/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/formularios/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.wf-root {
  --wf-bg: #0c1440;
  --wf-bg2: #162368;
  --wf-text: #fbf6ea;
  --wf-muted: rgba(251, 246, 234, 0.68);
  --wf-line: rgba(251, 246, 234, 0.28);
  --wf-accent: #66b8e8;
  --wf-accent-ink: #0c1440;
  --wf-error: #ffb4a8;
  --wf-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --wf-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--wf-text);
  font-family: var(--wf-sans);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(102, 184, 232, 0.18), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(22, 35, 104, 0.95), transparent 60%),
    var(--wf-bg);
  -webkit-font-smoothing: antialiased;
}
.wf-root *, .wf-root *::before, .wf-root *::after { box-sizing: border-box; }
.wf-page { margin: 0; background: #0c1440; }
.wf-noscript { color: #fbf6ea; font-family: system-ui, sans-serif; padding: 24px; }

.wf-root--embedded { min-height: 0; height: 100%; }
.wf-root:focus { outline: none; }

/* topo */
.wf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(16px, 5vw, 48px) 0;
  position: relative;
  z-index: 2;
}
.wf-logo { height: 26px; width: auto; display: block; }
.wf-progress {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: rgba(251, 246, 234, 0.1);
}
.wf-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--wf-accent);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wf-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wf-accent-ink);
  background: var(--wf-accent);
  padding: 5px 10px;
  border-radius: 99px;
}

/* palco */
.wf-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(16px, 6vw, 64px) 96px;
  position: relative;
  z-index: 1;
}
.wf-screen { width: 100%; max-width: 720px; }
.wf-screen--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.wf-enter-down { animation: wf-in-down 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wf-enter-up { animation: wf-in-up 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes wf-in-down { from { transform: translateY(40px); } to { transform: none; } }
@keyframes wf-in-up { from { transform: translateY(-40px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .wf-enter-down, .wf-enter-up { animation: none; }
  .wf-progress > span { transition: none; }
}

.wf-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--wf-accent);
  margin-bottom: 10px;
}
.wf-num svg { width: 14px; height: 14px; }
.wf-title {
  font-family: var(--wf-serif);
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  font-variation-settings: "opsz" 72;
}
.wf-title .wf-req { color: var(--wf-accent); margin-left: 2px; }
.wf-screen--center .wf-title { font-size: clamp(30px, 5.6vw, 52px); }
.wf-desc {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--wf-muted);
  margin: 0 0 28px;
  max-width: 620px;
}
.wf-screen--center .wf-desc { margin-left: auto; margin-right: auto; }

/* campos de texto */
.wf-input, .wf-textarea {
  width: 100%;
  font: inherit;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--wf-text);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--wf-line);
  padding: 8px 0 10px;
  border-radius: 0;
  transition: border-color 0.2s;
}
.wf-textarea { resize: none; min-height: 56px; line-height: 1.4; overflow: hidden; }
.wf-input::placeholder, .wf-textarea::placeholder { color: rgba(251, 246, 234, 0.38); }
.wf-input:focus, .wf-textarea:focus { outline: none; border-bottom-color: var(--wf-accent); }

/* opcoes */
.wf-options { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.wf-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  color: var(--wf-text);
  background: rgba(251, 246, 234, 0.06);
  border: 1.5px solid var(--wf-line);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.wf-option:hover { background: rgba(251, 246, 234, 0.12); border-color: rgba(251, 246, 234, 0.55); }
.wf-option:active { transform: scale(0.99); }
.wf-option:focus-visible { outline: 2px solid var(--wf-accent); outline-offset: 2px; }
.wf-key {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 800;
  border: 1.5px solid var(--wf-line);
  border-radius: 6px;
  background: rgba(12, 20, 64, 0.5);
}
.wf-option-label { flex: 1; }
.wf-check { width: 20px; height: 20px; flex: none; visibility: hidden; }
.wf-option[aria-pressed="true"], .wf-option[aria-checked="true"] {
  background: var(--wf-accent);
  border-color: var(--wf-accent);
  color: var(--wf-accent-ink);
}
.wf-option[aria-pressed="true"] .wf-key, .wf-option[aria-checked="true"] .wf-key { background: var(--wf-accent-ink); color: var(--wf-text); border-color: var(--wf-accent-ink); }
.wf-option[aria-pressed="true"] .wf-check, .wf-option[aria-checked="true"] .wf-check { visibility: visible; }
.wf-options--yesno { flex-direction: row; max-width: 360px; }
.wf-options--yesno .wf-option { justify-content: flex-start; }

/* nota 0 a 10 */
.wf-rating { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; max-width: 640px; }
.wf-rating .wf-option { justify-content: center; padding: 0; min-height: 52px; font-size: 18px; }
.wf-rating-labels { display: flex; justify-content: space-between; max-width: 640px; margin-top: 10px; font-size: 14px; color: var(--wf-muted); }
@media (max-width: 560px) {
  .wf-rating { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* acoes */
.wf-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.wf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--wf-accent-ink);
  background: var(--wf-accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(102, 184, 232, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.wf-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(102, 184, 232, 0.4); }
.wf-btn:focus-visible { outline: 2px solid var(--wf-text); outline-offset: 3px; }
.wf-btn svg { width: 18px; height: 18px; }
.wf-btn--whats { background: #25d366; color: #06301a; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }
.wf-btn--whats:hover { box-shadow: 0 14px 36px rgba(37, 211, 102, 0.42); }
.wf-btn--ghost { background: transparent; color: var(--wf-text); border: 1.5px solid var(--wf-line); box-shadow: none; }
.wf-hint { font-size: 14px; color: var(--wf-muted); }
.wf-hint b { color: var(--wf-text); font-weight: 700; }
.wf-error {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--wf-error);
}
.wf-error:empty { visibility: hidden; }

/* final */
.wf-done-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wf-accent);
  color: var(--wf-accent-ink);
  margin-bottom: 22px;
}
.wf-done-icon svg { width: 34px; height: 34px; }
.wf-logo-big { width: min(240px, 60vw); height: auto; margin-bottom: 32px; }
.wf-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--wf-line);
  border-top-color: var(--wf-accent);
  animation: wf-spin 0.8s linear infinite;
  margin-bottom: 18px;
}
@keyframes wf-spin { to { transform: rotate(360deg); } }

/* navegacao */
.wf-nav {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  bottom: 22px;
  display: flex;
  gap: 2px;
  z-index: 3;
}
.wf-nav button {
  width: 44px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--wf-accent-ink);
  background: var(--wf-accent);
  border: 0;
  cursor: pointer;
}
.wf-nav button:first-child { border-radius: 8px 0 0 8px; }
.wf-nav button:last-child { border-radius: 0 8px 8px 0; }
.wf-nav button:disabled { opacity: 0.45; cursor: default; }
.wf-nav svg { width: 18px; height: 18px; }
.wf-brand {
  position: absolute;
  left: clamp(16px, 5vw, 48px);
  bottom: 30px;
  font-size: 13px;
  color: var(--wf-muted);
  z-index: 2;
}
.wf-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wf-root--embedded .wf-title { font-size: 24px; }
.wf-root--embedded .wf-screen--center .wf-title { font-size: 28px; }
.wf-root--embedded .wf-desc { font-size: 15px; margin-bottom: 18px; }
.wf-root--embedded .wf-input, .wf-root--embedded .wf-textarea { font-size: 19px; }
.wf-root--embedded .wf-option { font-size: 15px; min-height: 44px; }
.wf-root--embedded .wf-rating { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wf-root--embedded .wf-btn { font-size: 15px; min-height: 44px; padding: 0 18px; }
.wf-root--embedded .wf-stage { padding: 16px 18px 80px; }
.wf-root--embedded .wf-top { padding: 16px 18px 0; }
.wf-root--embedded .wf-brand { display: none; }
.wf-root--embedded .wf-hint { display: none; }

@media (max-width: 560px) {
  .wf-hint { display: none; }
  .wf-brand { display: none; }
  .wf-stage { align-items: flex-start; padding-top: 12vh; }
}
