/* HOWL Audiovisual — estilos compartilhados do formulário de leads
   Cores da marca: #160027 (Criatividade), #FFEDD9 (Autoridade), #FFFFFF (Minimalismo). Fonte: Montserrat.
   Pensado primeiro para celular (360–430px); no computador o cartão ganha mais respiro. */
:root {
  --howl-deep: #160027;
  --howl-cream: #FFEDD9;
  --howl-white: #FFFFFF;
  --purple-1: #22003b;
  --purple-2: #33005a;
  --purple-3: #4d0080;
  --violet: #b14dff;
  --muted: rgba(255, 237, 217, .66);
  --hair: rgba(255, 237, 217, .14);
  --error: #ff8f8f;
  --font: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--howl-deep);
  color: var(--howl-cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: max(20px, env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  position: relative;
}
[hidden] { display: none !important; }

/* Círculos concêntricos da marca, centrados no logo */
.orbits { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orbits span {
  position: absolute; left: 50%; top: 70px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbits span:nth-child(1) { width: 300px; height: 300px; }
.orbits span:nth-child(2) { width: 520px; height: 520px; opacity: .8; }
.orbits span:nth-child(3) { width: 760px; height: 760px; opacity: .55; }

.wrap {
  position: relative; z-index: 1;
  max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: stretch; gap: 22px;
}

/* Cabeçalho: logo centrado, como no manual da marca */
.brand { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 8px; }
.logo {
  width: 136px; aspect-ratio: 640 / 211; max-width: 100%;
  background: var(--howl-cream);
  -webkit-mask: url("logo.png") center / contain no-repeat;
          mask: url("logo.png") center / contain no-repeat;
}
.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--howl-cream);
  border: 1px solid var(--hair);
  border-radius: 99px;
  padding: 6px 12px;
  background: rgba(22, 0, 39, .6);
}

.intro { display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.intro h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
  max-width: 20ch;
}
.intro p { margin: 0; color: var(--muted); font-size: 15px; max-width: 34ch; text-wrap: pretty; }

.card {
  background: var(--purple-1);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 20px 16px 18px;
  display: flex; flex-direction: column; gap: 18px;
  animation: fade .3s ease both;
}
.progress { display: flex; align-items: center; gap: 12px; }
.bar { flex: 1; height: 4px; border-radius: 99px; background: var(--purple-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--violet); border-radius: 99px; }
.count { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.card h2 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; text-wrap: balance; color: var(--howl-white); }

/* Cargo: uma opção por linha no celular, área de toque grande */
.options { display: grid; grid-template-columns: 1fr; gap: 10px; }
.opt {
  font: inherit; font-weight: 600; font-size: 16px;
  color: var(--howl-cream);
  background: rgba(22, 0, 39, .55);
  border: 1.5px solid var(--purple-3);
  border-radius: var(--radius);
  min-height: 58px;
  padding: 12px 14px 12px 16px;
  text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
  transition: border-color .15s, background .15s, color .15s;
}
.opt .opt-text { flex: 1; min-width: 0; }
.opt .opt-text small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.opt .radio {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--purple-3);
  transition: border-color .15s, box-shadow .15s;
}
.opt:hover { border-color: var(--howl-cream); }
.opt[aria-pressed="true"] { background: var(--howl-cream); border-color: var(--howl-cream); color: var(--howl-deep); }
.opt[aria-pressed="true"] small { color: rgba(22, 0, 39, .7); }
.opt[aria-pressed="true"] .radio { border-color: var(--howl-deep); box-shadow: inset 0 0 0 4px var(--howl-cream), inset 0 0 0 11px var(--howl-deep); }

/* Setor: grade de 2 colunas com botões de mesma largura */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip {
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--howl-cream);
  background: rgba(22, 0, 39, .55);
  border: 1.5px solid var(--purple-3);
  border-radius: 10px;
  min-height: 46px;
  padding: 8px 10px; cursor: pointer;
  text-align: center; line-height: 1.2;
  min-width: 0;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--howl-cream); }
.chip[aria-pressed="true"] { background: var(--howl-cream); border-color: var(--howl-cream); color: var(--howl-deep); }

.fields { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .group-label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input {
  font: inherit; font-size: 16px; font-weight: 500;   /* 16px evita o zoom automático do iPhone */
  color: var(--howl-white);
  background: var(--howl-deep);
  border: 1.5px solid var(--purple-3);
  border-radius: var(--radius);
  min-height: 52px;
  padding: 12px 14px; width: 100%;
  transition: border-color .15s;
}
.field input::placeholder { color: rgba(255, 237, 217, .34); font-weight: 400; }
.field input:focus { border-color: var(--violet); outline: none; }
.field.invalid input { border-color: var(--error); }
.err { font-size: 13px; color: var(--error); }
.err:empty { display: none; }

.role-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(22, 0, 39, .55);
  border: 1px solid var(--hair); border-radius: 10px;
  padding: 6px 6px 6px 14px; font-size: 14px;
}
.role-pill b { font-weight: 700; color: var(--howl-white); }

.actions { display: flex; align-items: center; gap: 12px; }
.btn {
  font: inherit; font-weight: 700; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase;
  border: 0; border-radius: var(--radius);
  min-height: 56px;
  padding: 14px 22px; cursor: pointer; flex: 1;
  background: var(--howl-cream); color: var(--howl-deep);
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--howl-white); }
.btn:active { transform: scale(.99); }
.btn[disabled] { opacity: .6; cursor: wait; }
.text-link {
  font: inherit; font-size: 14px; font-weight: 600;
  background: none; border: 0; color: var(--howl-cream);
  cursor: pointer; padding: 8px 10px; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--hair);
}
.text-link:hover { text-decoration-color: var(--howl-cream); }

.opt:focus-visible, .chip:focus-visible, .btn:focus-visible, .text-link:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.end { gap: 12px; align-items: center; text-align: center; padding-block: 28px 26px; }
.end .mark {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--hair);
  background: var(--purple-2); color: var(--howl-cream);
}
.end h2 { font-size: 23px; font-weight: 800; color: var(--howl-cream); }
.end p { margin: 0; color: var(--muted); font-size: 15px; max-width: 32ch; }

.foot {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 4px; text-align: center;
  font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.foot .sep { display: none; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

@keyframes fade { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
  .opt, .chip, .btn, .field input { transition: none; }
}

/* Telas maiores: mais respiro e cargos em 2 colunas */
@media (min-width: 560px) {
  body { padding-block: 40px 48px; }
  .wrap { gap: 28px; }
  .logo { width: 168px; }
  .orbits span { top: 96px; }
  .orbits span:nth-child(1) { width: 380px; height: 380px; }
  .orbits span:nth-child(2) { width: 680px; height: 680px; }
  .orbits span:nth-child(3) { width: 980px; height: 980px; }
  .intro h1 { font-size: 34px; }
  .intro p { font-size: 16px; }
  .card { padding: 28px 26px 26px; gap: 22px; }
  .card h2 { font-size: 21px; }
  .options { grid-template-columns: 1fr 1fr; }
  .foot { flex-direction: row; gap: 10px; }
  .foot .sep { display: block; }
}
