/* Formulário de candidatura · Event-Led Growth (mesma identidade da landing page) */
:root {
  --bg: #020718;
  --electric: #2563ff;
  --glow: #4d8dff;
  --ice: #cfe0ff;
  --white: #f4f7ff;
  --muted: rgba(220, 230, 255, .72);
  --dim: rgba(200, 215, 255, .5);
  --line: rgba(120, 160, 255, .2);
  --line-2: rgba(140, 175, 255, .36);
  --field: rgba(8, 26, 92, .45);
  --error: #ff8a8a;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--white); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(11, 47, 168, .35), transparent 70%), linear-gradient(180deg, rgba(2, 7, 24, .4), rgba(2, 7, 24, .92) 60%); }

.page { min-height: 100vh; display: flex; flex-direction: column; width: 100%; max-width: 680px; margin: 0 auto; padding: 0 16px; }
.header { padding: 26px 0 8px; display: flex; justify-content: center; }
.brand img { width: 150px; filter: drop-shadow(0 0 1px rgba(110, 155, 255, .8)) drop-shadow(0 10px 24px rgba(0, 8, 50, .8)); }
.main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 28px 0 40px; }

.screen {
  padding: 32px 22px;
  border: 1px solid var(--line); border-radius: 26px;
  background: linear-gradient(165deg, rgba(20, 52, 170, .32), rgba(3, 10, 34, .82) 60%);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(160, 190, 255, .08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
@media (min-width: 600px) { .screen { padding: 44px 44px 40px; border-radius: 32px; } }

.eyebrow { display: inline-flex; margin-bottom: 16px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(37, 99, 255, .12); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ice); }
.introTitle { margin: 0; font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.introText { margin: 16px 0 0; color: var(--muted); }

.primary, .secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem/1.1 var(--sans); text-decoration: none; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, opacity .3s;
}
.primary { background: linear-gradient(180deg, #3b7bff, #1745e0); color: #fff; box-shadow: 0 14px 36px -12px rgba(37, 99, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(77, 141, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.primary:disabled { opacity: .6; cursor: wait; transform: none; }
.secondary { background: rgba(255, 255, 255, .04); color: var(--ice); border: 1px solid var(--line-2); }
.secondary:hover { background: rgba(37, 99, 255, .16); }
.intro .primary { margin-top: 28px; width: 100%; }
@media (min-width: 600px) { .intro .primary { width: auto; } }

.privacy { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: .86rem; color: var(--dim); }
.privacy svg { margin-top: 3px; color: var(--glow); }
.privacy a { color: var(--ice); }

/* barra de progresso */
.progress { height: 6px; margin-bottom: 30px; border-radius: 99px; background: rgba(120, 160, 255, .14); overflow: hidden; }
.progressBar { height: 100%; width: 4%; border-radius: inherit; background: linear-gradient(90deg, #2563ff, #a9c6ff); box-shadow: 0 0 14px rgba(77, 141, 255, .8); transition: width .6s var(--ease); }

/* pergunta */
.field { animation: entrar .55s var(--ease); outline: none; }
@keyframes entrar { from { opacity: 0; transform: translateY(14px); } }
.title { display: block; margin: 0; font-size: clamp(1.35rem, 4.6vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.022em; }
.description { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }
.sublabel { display: block; margin: 18px 0 0; font-size: .9rem; font-weight: 700; color: var(--ice); }
.hint { margin: 8px 0 0; font-size: .82rem; color: var(--dim); }

.input {
  display: block; width: 100%; margin-top: 18px; padding: 16px 18px;
  border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--field); color: var(--white);
  font: 500 1.05rem/1.4 var(--sans);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.sublabel + .input { margin-top: 8px; }
.input::placeholder { color: rgba(200, 215, 255, .38); }
.input:focus { outline: none; border-color: var(--glow); background: rgba(14, 44, 150, .5); box-shadow: 0 0 0 4px rgba(37, 99, 255, .25); }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(255, 138, 138, .15); }
textarea.input { min-height: 140px; resize: vertical; }
.input.other { margin-top: 10px; }

/* opções */
.options { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.option {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--field);
  font-weight: 500; line-height: 1.35;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.option:hover { border-color: var(--glow); background: rgba(14, 44, 150, .5); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.optionMark { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2px solid rgba(160, 190, 255, .5); transition: border-color .3s, background .3s, box-shadow .3s; }
.option input[type="checkbox"] + .optionMark { border-radius: 7px; }
.option:has(input:checked) { border-color: var(--glow); background: linear-gradient(160deg, rgba(37, 99, 255, .35), rgba(14, 44, 150, .45)); }
.option input:checked + .optionMark { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231745e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 0 14px rgba(120, 165, 255, .7); }
.option input:focus-visible + .optionMark { outline: 2px solid var(--glow); outline-offset: 3px; }

/* autorização */
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; cursor: pointer; font-size: .92rem; color: var(--muted); }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consentMark { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 7px; border: 2px solid rgba(160, 190, 255, .5); transition: border-color .3s, background .3s; }
.consent input:checked + .consentMark { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231745e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.consent input:focus-visible + .consentMark { outline: 2px solid var(--glow); outline-offset: 3px; }
.consent input[aria-invalid="true"] + .consentMark { border-color: var(--error); }

.error { margin: 14px 0 0; color: var(--error); font-size: .92rem; font-weight: 500; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.actions .primary { flex: 1; }
.actions .secondary { flex: 0 0 auto; }
@media (min-width: 600px) { .actions .primary { flex: 0 0 auto; min-width: 200px; margin-left: auto; } }

/* tela final */
.done { text-align: center; outline: none; }
.check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: linear-gradient(180deg, #3b7bff, #1745e0); box-shadow: 0 0 0 10px rgba(37, 99, 255, .15), 0 20px 40px -10px rgba(37, 99, 255, .9); animation: pop .7s var(--ease); }
.check svg { width: 34px; height: 34px; stroke: #fff; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.actions--fim { justify-content: center; }
.actions--fim .primary { flex: 0 1 auto; margin: 0; }
.signature { margin: 26px 0 0; font-size: .9rem; font-weight: 700; color: var(--dim); }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); }
.footer span { display: inline-flex; align-items: center; gap: 10px; }
.footer img { height: 20px; width: auto; }
.footer a { color: var(--ice); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
