
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/bricolage.woff2') format('woff2');
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f1f3e9;
  --ink: #16231b;
  --muted: #485a4d;
  --line: #d8dfd1;
  --white: #fffef9;
  --lime: #c3ff58;
  --yellow: #ffd662;
  --forest: #173d29;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.bar, .brand { display: flex; align-items: center; gap: 12px; }
.bar { min-height: 82px; justify-content: space-between; }
.brand { font-family: var(--display); font-size: 17px; font-weight: 800; }
.brand b { color: #306337; }
.mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.nav-action {
  padding: 8px 15px; border: 1px solid #bdcbbc; border-radius: 30px;
  background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.nav-action:hover { background: #e3ead9; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: 28px; padding: clamp(26px, 5vw, 66px);
  border-radius: 29px; background: #10291e; color: #fcfff3;
  background-image: radial-gradient(ellipse at 87% 34%, #2c592a 0, transparent 52%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .37;
  background-image: radial-gradient(circle, #88a886 1px, transparent 1.4px);
  background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 36%, black);
}
.status {
  display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px;
  border: 1px solid #66825c; border-radius: 30px; color: #e2f4d7;
  font-size: 13px; font-weight: 700;
}
.status i { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 {
  margin: 20px 0 18px; font-size: clamp(42px, 7.1vw, 94px);
  font-weight: 800; line-height: 1.08; letter-spacing: 0;
}
h1 span, h1 em { display: block; }
h1 em { color: var(--lime); font-style: normal; }
.hero p { max-width: 40ch; margin-bottom: 24px; font-size: clamp(16px, 2vw, 19px); color: #d6e6d5; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 11px 18px; border: 0; border-radius: 11px; background: var(--forest);
  color: white; font: inherit; font-weight: 750; cursor: pointer;
}
.button:hover { background: #255438; }
.hero .button { background: var(--lime); color: #152416; }
.hero .button:hover { background: var(--yellow); }
:focus-visible { outline: 3px solid #368748; outline-offset: 3px; }
.hero :focus-visible { outline-color: var(--yellow); }

.orbit {
  display: grid; place-items: center; position: relative; width: min(100%, 385px);
  aspect-ratio: 1; justify-self: center; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, #c3ff5836 35px 36px, transparent 37px 52px);
}
.orb {
  width: 73%; aspect-ratio: 1; padding: 5px; border-radius: 50%;
  border: 1px solid #b9ff7799; background: #172b1d; box-shadow: 0 12px 44px #020e0988;
}
.orb img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.badge { position: absolute; border-radius: 10px; font-weight: 800; box-shadow: 0 5px 18px #02140a60; }
.seats {
  right: 0; bottom: 14%; padding: 7px 13px; background: var(--yellow);
  color: #282511; transform: rotate(-7deg); font-size: 13px;
}
.seats strong { font-size: 20px; margin-right: 4px; }
.star { top: 14%; right: 9%; padding: 5px 11px; background: var(--lime); color: var(--ink); transform: rotate(12deg); }

.schedule {
  display: grid; grid-template-columns: 1fr 1fr .65fr;
  margin: 16px 0 30px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--white);
}
.schedule div { padding: 18px clamp(12px, 2.5vw, 28px); }
.schedule div + div { border-left: 1px solid var(--line); }
dt { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
dd { margin: 4px 0 0; font-weight: 750; }
h2 { font-size: clamp(25px, 3.3vw, 39px); font-weight: 750; line-height: 1.17; margin-bottom: 10px; }
p { color: var(--muted); }
.panel, .candidate {
  border: 1px solid var(--line); border-radius: 19px; background: var(--white);
}
.panel { padding: clamp(21px, 4vw, 42px); scroll-margin-top: 20px; box-shadow: 0 6px 20px #23422e09; }
#inscricao {
  position: fixed; width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px); padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line); border-radius: 20px; background: var(--white);
  color: var(--ink); box-shadow: 0 18px 56px #06170f55; overscroll-behavior: contain;
}
#inscricao::backdrop { background: #0a2019aa; }
html:has(#inscricao[open]) { overflow: hidden; }
#inscricao h2 { padding-right: 40px; }
.dialog-close { position: absolute; top: 14px; right: 14px; margin: 0; }
.dialog-close button {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--paper); color: var(--ink); font: 24px/1 system-ui, sans-serif; cursor: pointer;
}
.dialog-close button:hover { background: #e3ead9; }
.panel > p { max-width: 65ch; }
form { margin-top: 24px; }
.fields, .cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }
.fields label { margin: 0; }
label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
label small {
  display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 20px;
  background: #e8efdf; color: var(--muted); font-size: 12px;
}
.hint, .handle { color: var(--muted); font-size: 13px; }
input:not([type=checkbox]), textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid #b8c5b6;
  border-radius: 9px; background: #f7f9f2; color: var(--ink); font: 16px/1.4 system-ui, sans-serif;
}
input::placeholder, textarea::placeholder { color: #627265; }
textarea { resize: vertical; }
.notice {
  background: #edf7dc; border: 1px solid #b5ce9c; border-radius: 10px;
  padding: 14px; color: var(--ink); overflow-wrap: anywhere;
}
.notice code { display: block; margin-top: 6px; color: var(--forest); font-size: 16px; user-select: all; }
.candidates { margin-top: 34px; }
.candidates h2 { display: flex; align-items: center; gap: 10px; }
.count { border-radius: 20px; padding: 4px 9px; background: #dfead5; color: var(--forest); font-size: 14px; }
.candidates > p { padding: 18px; border: 1px dashed #a8b9a6; border-radius: 12px; }
.candidate { padding: 18px; overflow-wrap: anywhere; }
.candidate h3 { margin-bottom: 2px; }
.candidate p { margin: 9px 0; }
.candidate strong, .pick { color: var(--forest); }
.candidate:has(input:checked) { border-color: #48884a; background: #f2f8e9; }
.pick { display: flex; align-items: center; gap: 8px; cursor: pointer; }
input[type=checkbox] { accent-color: var(--forest); width: 19px; height: 19px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
footer {
  margin: 36px auto 0; padding: 18px 0; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; font-weight: 650; display: flex; justify-content: space-between; gap: 10px;
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 66px; }
  .hero { grid-template-columns: 1fr; gap: 10px; border-radius: 20px; }
  h1 { font-size: clamp(36px, 10vw, 58px); }
  .orbit { width: min(100%, 215px); }
  .schedule { grid-template-columns: 1fr 1fr; }
  .schedule div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .fields, .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
