@font-face {
  font-family: "Inter Tight";
  src: url("/assets/inter-tight.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #21172c;
  --copy: #51465d;
  --purple: #612cb5;
  --deep: #4b218e;
  --pale: #e6d6fa;
  --lavender: #f1e8fb;
  --line: #d9cde6;
  --ice: #edf7ef;
  --error: #9b1c3a;
}
* { box-sizing: border-box; }
html { font-family: "Inter Tight", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
h1, p { margin: 0; }

.access { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.panel { width: 100%; max-width: 30rem; margin: 0 auto; padding: 2.5rem 1.25rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
.logo { width: 8.75rem; height: auto; margin-bottom: 1.5rem; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 2.9rem); font-weight: 760; line-height: 1.04; letter-spacing: -.035em; }
.intro { color: var(--copy); font-size: 1.06rem; line-height: 1.45; max-width: 34ch; }

.notice { padding: .8rem 1rem; border-inline-start: 4px solid var(--purple); background: var(--lavender); color: var(--ink); line-height: 1.4; border-radius: 0 .4rem .4rem 0; }
.notice-invalid, .notice-limited, .notice-unavailable { border-color: var(--error); background: #fbecef; color: #5c1022; }

form { display: grid; gap: .4rem; margin-top: .5rem; }
label { font-weight: 650; font-size: .95rem; margin-top: .6rem; }
input {
  font: inherit;
  font-size: 1.05rem;
  width: 100%;
  min-height: 3rem;
  padding: .7rem .85rem;
  border: 1.5px solid #b9abc9;
  border-radius: .45rem;
  background: #fff;
  color: var(--ink);
}
input:hover { border-color: #8f7aa9; }
input:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-color: var(--purple); }
input[aria-invalid="true"] { border-color: var(--error); }
button {
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 1.2rem;
  min-height: 3.1rem;
  padding: .75rem 1.2rem;
  border: 0;
  border-radius: .45rem;
  background: var(--purple);
  color: #fff;
  cursor: pointer;
}
button:hover { background: var(--deep); }
button:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.help { color: var(--copy); font-size: .9rem; line-height: 1.4; margin-top: .5rem; }

/* Elemento gráfico Mosten: retângulos inclinados em movimento para cima. */
.art { display: none; position: relative; overflow: hidden; background: var(--ice); }
.art span { position: absolute; bottom: -10%; height: 120%; clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); }
.art span:nth-child(1) { left: 6%; width: 34%; background: var(--pale); }
.art span:nth-child(2) { left: 30%; width: 30%; background: var(--purple); }
.art span:nth-child(3) { left: 55%; width: 46%; background: #fff; opacity: .7; }

.foot { padding: 1rem 1.25rem 1.5rem; color: var(--copy); font-size: .88rem; text-align: center; }

@media (min-width: 860px) {
  .access { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .panel { justify-content: center; padding: 4rem 3rem; }
  .art { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
