:root {
  --navy: #063c72;
  --navy-deep: #042848;
  --cream: #fff8f1;
  --honey: #fe7702;
  --honey-deep: #c65300;
  --honey-soft: #fff1e4;
  --paper: #f4f6f8;
  --card: #fff;
  --line: #e3e8ee;
  --muted: #5c6d7e;
  --danger: #9f2d00;
  --shadow: 0 16px 40px rgb(6 60 114 / 0.08);
  --radius: 1.5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.topbar {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
}
.topbar span { color: var(--honey); margin: 0 0.4rem; }
header.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.8rem 1rem;
}
header.bar img { height: 3.25rem; }
header.bar .actions { display: flex; align-items: center; gap: 0.5rem; }
a.apply {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--honey);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
a.menu {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}
main { max-width: 46rem; margin: 0 auto; padding: 0.5rem 1rem 3rem; }
h1 { font-size: 1.8rem; line-height: 1.15; margin: 0.2rem 0; }
.lede { color: var(--muted); margin: 0 0 1rem; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  margin-top: 1rem;
}
h2 { font-size: 1.15rem; margin: 0 0 0.8rem; }
label, legend { display: block; font-size: 0.92rem; font-weight: 800; margin-top: 0.85rem; }
legend { margin-bottom: 0.2rem; }
.hint { display: block; font-weight: 600; color: var(--muted); font-size: 0.78rem; }
input, select, textarea {
  width: 100%;
  margin-top: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.8rem;
}
textarea { min-height: 5.5rem; resize: vertical; }
input[type="file"] { background: var(--paper); padding: 0.55rem 0.7rem; font-weight: 600; color: var(--muted); font-size: 0.85rem; border-style: dashed; }
input[type="file"]::file-selector-button {
  margin-right: 0.7rem;
  border: 0;
  border-radius: 0.6rem;
  background: var(--navy);
  color: var(--cream);
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}
label.doc { margin-top: 1.15rem; font-size: 1rem; color: var(--navy); }
.grid { display: grid; gap: 0.2rem 0.8rem; }
@media (min-width: 720px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.3rem; }
}
.error {
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.25rem 0 0;
}
.banner {
  background: #fff4f0;
  color: var(--danger);
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
  font-weight: 700;
}
button, .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.9rem;
  background: var(--honey);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-weight: 700; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; }
.ok {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.ok h1, .ok p { color: var(--cream); }
.ref {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--honey);
  color: var(--navy);
  font-weight: 800;
  border-radius: 0.7rem;
  padding: 0.45rem 0.7rem;
}
footer {
  background: var(--navy);
  color: var(--cream);
  margin-top: 2rem;
  padding: 1.4rem 1rem 2rem;
  font-size: 0.85rem;
}
footer .wrap { max-width: 46rem; margin: 0 auto; }
footer a { color: var(--honey); }
.wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgb(16 40 56 / 0.2);
}
.wa svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
