/* EOTEC · briefing de site (azul-marinho e laranja da marca) */
@font-face { font-family:"Sora"; src:url("sora.ttf") format("truetype"); font-weight:100 800; font-display:swap; }

:root {
  --navy:#122045; --orange:#f4811c; --orange-d:#c45f05;
  --bg:#f6f7fb; --card:#ffffff; --fg:#1b2440; --muted:#5b6480; --line:#dfe3ee;
  --err:#c0262d; --max:760px;
}
* { box-sizing:border-box; margin:0; padding:0; }
body { background:var(--bg); color:var(--fg); font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased; min-height:100vh; display:flex; flex-direction:column; }
a { color:var(--orange-d); text-underline-offset:3px; }
h1, h2 { font-family:"Sora",system-ui,sans-serif; letter-spacing:-.025em; line-height:1.15; color:var(--navy); }
h1 { font-size:clamp(30px,5.4vw,46px); font-weight:800; }
h1 span { color:var(--orange); display:block; }
h2 { font-size:clamp(24px,3.6vw,32px); font-weight:700; margin-bottom:24px; }
:focus-visible { outline:3px solid var(--orange); outline-offset:2px; border-radius:6px; }
[hidden] { display:none !important; }

/* topo */
.top { position:sticky; top:0; z-index:5; background:rgba(255,255,255,.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.top .in { max-width:var(--max); margin:0 auto; padding:10px 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.top .logo { height:30px; width:auto; }
.progress { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); white-space:nowrap; }
.progress .bar { width:clamp(80px,22vw,180px); height:6px; background:var(--line); border-radius:99px; overflow:hidden; }
.progress .bar span { display:block; height:100%; width:0; background:var(--orange); transition:width .3s ease; }

.wrap { max-width:var(--max); margin:0 auto; padding:0 16px; width:100%; }
main.wrap { flex:1; padding-top:40px; padding-bottom:40px; }

.step { background:var(--card); border:1px solid var(--line); border-radius:20px; padding:clamp(22px,5vw,40px); box-shadow:0 10px 30px -18px rgba(18,32,69,.25); }
.eyebrow { font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--orange-d); font-weight:700; margin-bottom:12px; }
.lead { color:var(--muted); font-size:clamp(16px,1.8vw,18px); margin-top:16px; max-width:60ch; }
.info { list-style:none; margin-top:24px; display:grid; gap:10px; }
.info li { padding-left:28px; position:relative; }
.info li::before { content:""; position:absolute; left:4px; top:.55em; width:10px; height:10px; border-radius:3px; background:var(--orange); }
.nota { color:var(--muted); font-size:15px; margin-top:20px; }
.req { color:var(--orange-d); font-weight:700; }

/* perguntas */
.q { border:0; margin-top:22px; }
.q:first-of-type { margin-top:0; }
.q > label, .q legend { display:block; font-weight:600; color:var(--navy); margin-bottom:8px; }
.q small { display:block; font-weight:400; color:var(--muted); font-size:14px; }
.row { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.row .q { margin-top:22px; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), textarea {
  width:100%; font:inherit; color:var(--fg); background:#fff; border:1.5px solid var(--line); border-radius:12px; padding:11px 14px; transition:border-color .15s;
}
textarea { resize:vertical; min-height:56px; }
input::placeholder, textarea::placeholder { color:#9aa1b5; }
input:focus, textarea:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(244,129,28,.18); }
.q.invalid input, .q.invalid textarea { border-color:var(--err); }
.q.invalid .opt { border-color:rgba(192,38,45,.5); }
.q .erro { color:var(--err); font-size:14px; margin-top:6px; }

.opts { display:grid; gap:8px; }
.opts.inline { grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); }
.opts.cols { grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); }
.opt { display:flex; align-items:center; gap:12px; padding:11px 14px; border:1.5px solid var(--line); border-radius:12px; cursor:pointer; background:#fff; transition:border-color .15s, background .15s; }
.opt:hover { border-color:#c3c9da; }
.opt input { accent-color:var(--orange); width:18px; height:18px; flex:none; }
.opt:has(input:checked) { border-color:var(--orange); background:#fff7ef; }
.outro { margin-top:10px; }

.file input[type=file] { width:100%; font:inherit; font-size:15px; padding:14px; border:1.5px dashed #c3c9da; border-radius:12px; background:#fafbfd; cursor:pointer; }
.file input[type=file]::file-selector-button { font:inherit; font-weight:600; margin-right:12px; padding:8px 14px; border:0; border-radius:99px; background:var(--navy); color:#fff; cursor:pointer; }

.consent { display:flex; gap:12px; align-items:flex-start; margin-top:28px; padding:16px; border-radius:12px; background:#f1f3f9; font-size:14.5px; color:var(--muted); cursor:pointer; }
.consent input { accent-color:var(--orange); width:18px; height:18px; flex:none; margin-top:3px; }
.consent.invalid { outline:1.5px solid var(--err); }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* botões */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-weight:700; font-size:16px; padding:13px 26px; border-radius:99px; border:0; cursor:pointer; text-decoration:none; background:var(--orange); color:var(--navy); transition:filter .15s, transform .05s; }
.btn:hover { filter:brightness(1.06); }
.btn:active { transform:translateY(1px); }
.btn:disabled { opacity:.6; cursor:wait; }
.btn.ghost { background:transparent; color:var(--navy); box-shadow:inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow:inset 0 0 0 1.5px var(--navy); }
.nav { display:flex; justify-content:space-between; gap:12px; margin-top:20px; }
.nav #avancar { margin-left:auto; min-width:150px; }
.ctas { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.done .btn { margin-top:24px; }

.msg { margin-top:16px; padding:12px 16px; border-radius:12px; background:#fdecec; color:var(--err); font-size:15px; }
.aviso { padding:16px; background:#fff7ef; border-radius:12px; margin-bottom:20px; }

.foot { border-top:1px solid var(--line); padding:20px 0; font-size:13px; color:var(--muted); text-align:center; }

@media (max-width:560px) {
  .row { grid-template-columns:1fr; }
  .top .logo { height:26px; }
  .progress #etapa { display:none; }
}
@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }
