:root {
  --bg: #000;
  --line: #222;
  --text: #fff;
  --accent: #ff6000;
  --accent-2: #ff9a3d;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(255, 96, 0, 0.08), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--accent); color: #000; }

.hl { color: var(--accent); }

/* ---------- Visual da direita ---------- */
.art {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52vw;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 50%, rgba(255, 96, 0, 0.34), transparent 45%),
    radial-gradient(ellipse 80% 70% at 70% 40%, rgba(255, 120, 20, 0.14), transparent 70%),
    linear-gradient(90deg, #000 0%, transparent 32%);
}
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 140, 60, 0.35) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 58% 50%, #000 0%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle at 58% 50%, #000 0%, transparent 55%);
  opacity: 0.5;
}
.beam {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 96, 0, 0.9) 45%, rgba(255, 154, 61, 0.9) 55%, transparent);
  box-shadow: 0 0 18px 2px rgba(255, 96, 0, 0.45);
}
.beam.b1 { top: 16%; transform: rotate(-13deg); opacity: 0.7; }
.beam.b2 { top: 80%; transform: rotate(-8deg); opacity: 0.4; }

.orb {
  position: absolute;
  top: 50%;
  left: 58%;
  width: min(30vw, 420px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 96, 0, 0.4);
}
.ring.r1 { inset: 0; }
.ring.r2 { inset: -22%; border-style: dashed; border-color: rgba(255, 96, 0, 0.28); animation: spin 60s linear infinite; }
.ring.r3 { inset: -48%; border-color: rgba(255, 96, 0, 0.12); animation: spin 90s linear infinite reverse; }
.ring::before,
.ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px 3px rgba(255, 96, 0, 0.7);
}
.ring.r1::before { top: 12%; left: 12%; width: 8px; height: 8px; }
.ring.r1::after { display: none; }
.ring.r2::before { top: -5px; left: 50%; }
.ring.r2::after { bottom: 14%; right: 6%; width: 6px; height: 6px; }
.ring.r3::before { top: 50%; left: -5px; width: 7px; height: 7px; }
.ring.r3::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.orb-core {
  position: relative;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #ffb066 0%, var(--accent) 45%, #c24400 100%);
  box-shadow: 0 0 0 10px rgba(255, 96, 0, 0.12), 0 0 0 22px rgba(255, 96, 0, 0.06), 0 30px 90px -10px rgba(255, 96, 0, 0.8);
  color: #fff;
}
.orb-core svg { width: 46%; height: 46%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3)); }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: rgba(14, 14, 14, 0.72);
  border: 1px solid rgba(255, 96, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip.c1 { top: 20%; left: 12%; }
.chip.c2 { bottom: 19%; right: 8%; animation-delay: -3s; }
.chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 96, 0, 0.16);
  color: var(--accent);
}
.chip-icon svg { width: 18px; height: 18px; }
.chip small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.chip b {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Header ---------- */
header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--gutter);
}
.logo { display: block; height: 48px; width: auto; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 96, 0, 0.55);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 96, 0, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 96, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 96, 0, 0); }
}

/* ---------- Conteúdo ---------- */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 32px var(--gutter) 48px;
}
.content { width: 100%; max-width: 720px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Trilha do voto */
.vote-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 460px;
  margin: 16px 0 40px;
}
.vote-track::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  height: 1px;
  background: var(--line);
}
.vote-track .step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.vote-track .step:nth-child(2) { align-items: center; }
.vote-track .step:last-child { align-items: flex-end; }
.vote-track .node {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid #444;
  background: #000;
}
.vote-track .step.active { color: var(--accent); font-weight: 600; }
.vote-track .step.active .node {
  border: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 14px rgba(255, 96, 0, 0.7);
}

h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, min(5vw, 8.5vh), 66px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: #bdbdbd;
  max-width: 560px;
}

.checklist {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: #eee;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 96, 0, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Botão principal */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  padding: 22px 38px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.15s ease;
  box-shadow: 0 10px 36px -8px rgba(255, 96, 0, 0.55);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.note {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #777;
}
.note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; }

/* Card de ação (páginas sem botão) */
.action {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 24px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 96, 0, 0.18), rgba(255, 96, 0, 0.04));
  border: 1px solid rgba(255, 96, 0, 0.55);
  box-shadow: 0 12px 50px -18px rgba(255, 96, 0, 0.7);
}
.action-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.action-icon svg { width: 24px; height: 24px; }
.action strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}
.action p { font-size: 15px; color: #cfcfcf; }

/* ---------- Rodapé ---------- */
footer {
  position: relative;
  z-index: 1;
  margin: 0 var(--gutter);
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
  color: #777;
}
footer b { color: #fff; font-weight: 600; }

/* ---------- Responsivo ---------- */
@media (min-width: 961px) and (max-width: 1279px) {
  .content { max-width: 50vw; }
  .orb { left: 66%; width: 26vw; }
  .chip.c1 { left: auto; right: 10%; top: 14%; }
  .chip.c2 { right: 6%; bottom: 14%; }
}

@media (min-width: 961px) and (max-height: 820px) {
  header { padding-top: 16px; padding-bottom: 16px; }
  .logo { height: 40px; }
  main { padding-top: 8px; padding-bottom: 20px; }
  .vote-track { margin: 12px 0 24px; }
  .lead { margin-top: 14px; }
  .checklist { margin-top: 16px; gap: 8px; }
  .btn { margin-top: 24px; padding: 18px 34px; }
  .note { margin-top: 10px; }
  .action { margin-top: 24px; }
  footer { padding: 14px 0 18px; }
}

@media (max-width: 960px) {
  .art { width: 100vw; opacity: 0.35; }
  .orb { left: 88%; top: 26%; width: 60vw; }
  .chip, .orb-core svg { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  header { padding-top: 18px; padding-bottom: 18px; }
  .logo { height: 38px; }
  .status { padding: 8px 12px; font-size: 10px; letter-spacing: 0.1em; }
  main { padding-top: 20px; }
  .vote-track { margin-bottom: 32px; }
  .vote-track .step { font-size: 12px; }
  .btn { width: 100%; gap: 10px; padding: 20px 18px; font-size: 15px; white-space: nowrap; }
  .action { padding: 20px; gap: 14px; }
  .action-icon { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .status .dot, .ring, .chip { animation: none; }
  .btn, .btn .arrow { transition: none; }
}

/* ---------- Caixa de comentário ---------- */
.feedback {
  margin-top: 32px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 96, 0, 0.14), rgba(255, 96, 0, 0.03));
  border: 1px solid rgba(255, 96, 0, 0.45);
}
.feedback-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}
.feedback textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #333;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.feedback textarea::placeholder { color: #6b6b6b; }
.feedback textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.25);
}
.feedback .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.feedback .btn { margin-top: 16px; padding: 16px 30px; font-size: 16px; border: none; cursor: pointer; }
.feedback .btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.feedback-status { margin-top: 16px; font-size: 14px; color: var(--accent-2); }
.feedback-done { display: none; gap: 16px; align-items: center; }
.feedback-done strong { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 800; }
.feedback-done p { font-size: 15px; color: #cfcfcf; }
.feedback.sent > :not(.feedback-done) { display: none; }
.feedback.sent .feedback-done { display: flex; }

@media (min-width: 961px) and (max-height: 820px) {
  .feedback { margin-top: 18px; padding: 16px 18px; }
  .feedback-label { font-size: 16px; margin-bottom: 8px; }
  .feedback textarea { min-height: 64px; height: 64px; padding: 10px 14px; }
  .feedback .btn { margin-top: 10px; padding: 12px 24px; }
  .lead { font-size: 16px; }
}
@media (max-width: 560px) {
  .feedback { padding: 18px; }
  .feedback .btn { width: 100%; }
}
