/* Inter, self-hosted (SIL OFL 1.1, assets/fonts): the CSP allows no external fonts. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-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;
}

/* Brand system (official palette, 2026-10-13): navy base, red = conversation, yellow = confirmation / main call to action, Inter (self-hosted, see the @font-face above). Same values as merchant-portal/src/app/brand.ts. */
:root {
  --bg: #052b61; --deep: #031d44; --red: #ff2d2d; --red2: #b90f28; --yellow: #ffd032; --yellow2: #ffe27a;
  --text: #ffffff; --muted: #c9d6ec; --dim: #a3b6d6; --line: rgba(255, 255, 255, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); }
body {
  margin: 0; color: var(--text); line-height: 1.5; overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at 14% 5%, rgba(255, 45, 45, 0.11), transparent 28%), radial-gradient(circle at 88% 18%, rgba(255, 208, 50, 0.1), transparent 24%), linear-gradient(180deg, #052b61 0%, #04245a 45%, #031d44 100%);
}
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 70%); }
a { color: inherit; text-decoration: none; }
a.link, .legal a, .form-card a, .faq a { color: var(--yellow2); text-decoration: underline; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.glow { position: fixed; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: -1; }
.g1 { top: -12rem; right: -10rem; background: var(--red); opacity: 0.07; }
.g2 { bottom: -14rem; left: -10rem; background: var(--yellow); opacity: 0.08; }
.wrap, .top, footer { width: min(1180px, calc(100% - 40px)); margin: auto; }

/* header */
.top { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand, .footbrand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.035em; }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 8px 20px rgba(255, 45, 45, 0.3)); }
.wm em, .brand em, .footbrand em { font-style: normal; color: var(--yellow); }
.nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover { color: #fff; }
.menu-toggle { display: none; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px; transition: 0.2s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
#submit { display: flex; margin-left: auto; margin-right: auto; } /* "Enviar solicitação": centered in the width of the form */
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.primary { color: #052b61; background: linear-gradient(135deg, var(--yellow2), var(--yellow)); box-shadow: 0 12px 34px rgba(255, 208, 50, 0.22); }
.ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.045); color: var(--text); }
@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; z-index: 30; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(3, 29, 68, 0.97); }
  .nav.open { display: flex; }
  .nav.open-always { display: flex; position: static; flex-direction: row; padding: 0; border: 0; background: transparent; }
}

/* footer */
footer { padding: 30px 0 42px; border-top: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; color: #a3b6d6; font-size: 13px; flex-wrap: wrap; }
.footbrand b { color: #dfe8fa; font-size: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: #dfe8fa; }
footer p { margin: 8px 0 0; }

/* form + legal pages */
.form-wrap { padding: 24px 0 90px; }
.form-card { max-width: 780px; margin-inline: auto; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3); }
.form-card h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.05em; }
.form-card p { color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-weight: 800; font-size: 18px; margin-bottom: 14px; padding: 0; color: var(--yellow); }
.row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field input[readonly], .field select:disabled { opacity: 0.8; cursor: not-allowed; }
.field label { font-weight: 700; font-size: 14px; }
.hint { color: var(--dim); font-size: 13px; }
.field input, .field select, .field textarea { font: inherit; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(3, 29, 68, 0.6); color: var(--text); width: 100%; }
.field select option { color: #000; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #f4c430; outline: none; box-shadow: 0 0 0 2px rgba(244, 196, 48, 0.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff8c96; }
.field .error, .error { color: #ffb3b3; font-size: 13px; min-height: 1em; display: block; }
.combo { position: relative; }
.combo input:disabled { opacity: 0.6; cursor: not-allowed; }
.combo-list { position: absolute; left: 0; right: 0; top: 78px; z-index: 20; margin: 0; padding: 6px; list-style: none; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.18); background: #031d44; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.combo-list li { padding: 12px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: rgba(255, 208, 50, 0.16); }
.combo-list .empty { cursor: default; color: var(--dim); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--yellow); }
.notice { border-radius: 16px; padding: 14px 16px; margin-bottom: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: 14px; color: var(--text); }
.notice.error { background: rgba(255, 90, 105, 0.14); border-color: rgba(255, 140, 150, 0.6); color: #ffd3d7; }
.notice.ok { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.5); color: #c4f5d6; }
.hidden { display: none !important; }
.legal { max-width: 780px; margin-inline: auto; padding: 24px 0 80px; color: var(--muted); }
.legal h1 { color: var(--text); font-size: 36px; letter-spacing: -0.04em; }
.legal h2 { color: var(--text); margin-top: 32px; font-size: 19px; }
.legal-warning { background: rgba(255, 180, 84, 0.14); color: #ffe1b8; border: 1px solid rgba(255, 180, 84, 0.5); border-radius: 14px; padding: 14px 16px; font-weight: 600; }

@media (max-width: 680px) {
  .wrap, .top, footer { width: min(100% - 24px, 1180px); }
  .top { min-height: 76px; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.legal { padding-inline: 20px; }
.nav.open-always { gap: 16px; font-size: 13px; }

