@import url('https://fonts.googleapis.com/css2?family=Onest:wght@900&display=swap');
:root {
  --core-bg: #f3f4f3;
  --core-white: #ffffff;
  --core-ink: #20283d;
  --core-muted: #687080;
  --core-deep: #2e5365;
  --core-teal: #5f93a6;
  --core-teal-soft: #d9e8ed;
  --core-purple: #7e78aa;
  --core-purple-soft: #e4e1ef;
  --core-beige: #c7b58d;
  --core-beige-soft: #eee6d4;
  --core-line: #dfe3e5;
  --core-success: #527c71;
  --core-danger: #9b6262;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 48px rgba(31, 40, 61, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 82% 8%, rgba(95,147,166,.14), transparent 24rem),
    radial-gradient(circle at 12% 82%, rgba(126,120,170,.10), transparent 25rem),
    var(--core-bg);
  color: var(--core-ink);
  font-family: Poppins, Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-symbol {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 8px solid var(--core-teal);
  position: relative;
  flex: 0 0 auto;
}
.brand-symbol::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--core-beige);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.brand-copy { line-height: 1; min-width: 0; }
.brand-copy small {
  display: block;
  color: var(--core-muted);
  font-size: 10px;
  letter-spacing: .04em;
  margin-bottom: 3px;
}
.brand-copy strong {
  display: block;
  font-size: 25px;
  letter-spacing: -.04em;
}
.brand-copy span {
  color: var(--core-purple);
  font-weight: 700;
  font-size: 12px;
}

.live-pill, .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--core-line);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-pill i, .status-pill i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--core-success);
  box-shadow: 0 0 0 6px rgba(82,124,113,.12);
}
.live-pill.closed i { background: var(--core-danger); box-shadow: 0 0 0 6px rgba(155,98,98,.12); }

.event-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(112deg, #203745 0%, #2f6778 48%, #5f93a6 100%);
  color: white;
  padding: clamp(28px, 5vw, 70px);
  box-shadow: var(--shadow);
}
.event-hero::before,
.event-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}
.event-hero::before { width: 360px; height: 360px; right: -100px; top: -190px; }
.event-hero::after { width: 240px; height: 240px; right: 90px; top: -120px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  position: relative;
  z-index: 1;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}
.event-hero h1 {
  margin: 12px 0 16px;
  max-width: 900px;
  font-size: clamp(34px, 4.8vw, 70px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.event-hero .hero-note {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.55;
}
.hero-side {
  border-left: 1px solid rgba(255,255,255,.22);
  padding-left: 28px;
}
.hero-side strong {
  display: block;
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: -.04em;
  line-height: 1.05;
}
.hero-side span { display: block; margin-top: 8px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.5; }

.presentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr);
  gap: 22px;
  padding: 22px 0 44px;
}
.panel {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(215,220,223,.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 38px rgba(31, 40, 61, 0.06);
}
.results-panel { padding: clamp(22px, 3vw, 38px); }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.panel-head h2 { margin: 0; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.03em; }
.total-votes { color: var(--core-muted); font-size: 13px; white-space: nowrap; }
.total-votes strong { color: var(--core-ink); font-size: 22px; margin-right: 4px; }

.results-list { display: grid; gap: 16px; }
.result-row {
  border: 1px solid var(--core-line);
  border-radius: 20px;
  padding: 18px;
  overflow: hidden;
  position: relative;
}
.result-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.result-index {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  background: var(--core-teal-soft);
  color: var(--core-deep);
}
.result-row[data-tone="purple"] .result-index { background: var(--core-purple-soft); color: #5f598b; }
.result-row[data-tone="beige"] .result-index { background: var(--core-beige-soft); color: #76694d; }
.result-copy { min-width: 0; }
.result-copy strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.result-copy span { display: block; color: var(--core-muted); font-size: 12px; margin-top: 3px; line-height: 1.35; }
.result-number { text-align: right; }
.result-number strong { display: block; font-size: 26px; letter-spacing: -.04em; }
.result-number span { color: var(--core-muted); font-size: 11px; }
.bar-track {
  height: 10px;
  border-radius: 999px;
  background: #edf0f1;
  margin-top: 14px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.bar-fill { height: 100%; width: 0%; border-radius: inherit; background: var(--core-teal); transition: width .55s cubic-bezier(.2,.7,.2,1); }
.result-row[data-tone="purple"] .bar-fill { background: var(--core-purple); }
.result-row[data-tone="beige"] .bar-fill { background: var(--core-beige); }

.hidden-results {
  padding: 42px 26px;
  border: 1px dashed #cfd6d9;
  border-radius: 22px;
  text-align: center;
}
.hidden-results .orb {
  width: 72px; height: 72px; margin: 0 auto 18px;
  border: 14px solid var(--core-teal-soft);
  border-right-color: var(--core-purple-soft);
  border-bottom-color: var(--core-beige-soft);
  border-radius: 50%;
}
.hidden-results h3 { margin: 0 0 8px; font-size: 24px; }
.hidden-results p { margin: 0; color: var(--core-muted); line-height: 1.5; }

.qr-panel { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.qr-box {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--core-line);
  padding: 18px;
}
#qrCode { width: 214px; height: 214px; display: grid; place-items: center; }
#qrCode img, #qrCode canvas { max-width: 100%; height: auto !important; }
.qr-placeholder { color: var(--core-muted); font-size: 13px; text-align: center; line-height: 1.5; }
.qr-panel h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.qr-panel p { margin: -8px 0 0; color: var(--core-muted); font-size: 13px; line-height: 1.5; }
.vote-link {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--core-deep);
  background: #eef4f6;
  border-radius: 12px;
  padding: 12px 14px;
}
.commercial-note {
  margin-top: auto;
  background: var(--core-ink);
  color: white;
  border-radius: 20px;
  padding: 20px;
}
.commercial-note small { color: rgba(255,255,255,.6); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.commercial-note strong { display: block; margin-top: 6px; font-size: 17px; line-height: 1.35; }
.commercial-note span { display: block; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.5; margin-top: 8px; }

/* VOTAÇÃO MOBILE */
.vote-page .shell { width: min(780px, calc(100% - 28px)); }
.vote-page .topbar { min-height: 76px; }
.vote-card {
  margin: 14px auto 36px;
  padding: clamp(22px, 5vw, 42px);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--core-line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.vote-intro .kicker { color: var(--core-deep); }
.vote-intro h1 {
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 10px 0 12px;
}
.vote-intro p { color: var(--core-muted); line-height: 1.55; margin: 0 0 26px; }
.option-list { display: grid; gap: 12px; }
.vote-option {
  appearance: none;
  width: 100%;
  border: 1px solid var(--core-line);
  background: white;
  border-radius: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--core-ink);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.vote-option:focus-visible { outline: 3px solid rgba(95,147,166,.28); outline-offset: 3px; }
@media (hover:hover) and (pointer:fine) { .vote-option:hover { transform: translateY(-2px); border-color: #b7c5ca; } }
.vote-option:disabled { cursor: default; opacity: .72; }
.option-icon {
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--core-teal-soft);
  color: var(--core-deep);
}
.vote-option[data-tone="purple"] .option-icon { background: var(--core-purple-soft); color: #625c90; }
.vote-option[data-tone="beige"] .option-icon { background: var(--core-beige-soft); color: #776a4e; }
.option-icon svg { width: 25px; height: 25px; }
.option-text strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.option-text span { display: block; color: var(--core-muted); font-size: 12px; line-height: 1.45; margin-top: 4px; }
.option-arrow { font-size: 24px; color: #a6adb4; text-align: center; }
.vote-option.selected { border-color: var(--core-teal); background: #f4fafb; }
.vote-option[data-tone="purple"].selected { border-color: var(--core-purple); background: #f7f5fb; }
.vote-option[data-tone="beige"].selected { border-color: var(--core-beige); background: #fbf8f1; }

.vote-state {
  display: none;
  text-align: center;
  padding: 24px 4px 8px;
}
.vote-state.show { display: block; }
.checkmark {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e4efec;
  color: var(--core-success);
  font-size: 34px;
  margin: 0 auto 16px;
}
.vote-state h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.035em; }
.vote-state p { margin: 0 auto; color: var(--core-muted); line-height: 1.55; max-width: 520px; }
.brand-message {
  margin-top: 22px;
  background: var(--core-deep);
  color: white;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}
.brand-message strong { display: block; font-size: 17px; }
.brand-message span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.75); }
.closed-message {
  padding: 36px 20px;
  border: 1px dashed #cfd6d9;
  border-radius: 22px;
  text-align: center;
}
.closed-message h2 { margin: 0 0 8px; }
.closed-message p { margin: 0; color: var(--core-muted); }

/* ADMIN */
.admin-page .shell { width: min(1120px, calc(100% - 36px)); }
.admin-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); gap: 20px; padding-bottom: 40px; }
.admin-card { padding: 24px; }
.admin-card h1, .admin-card h2 { margin: 0; letter-spacing: -.04em; }
.admin-card h1 { font-size: 34px; }
.admin-card h2 { font-size: 22px; }
.admin-card .sub { color: var(--core-muted); font-size: 13px; line-height: 1.5; margin-top: 6px; }
.control-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.btn {
  appearance: none;
  border: 1px solid var(--core-line);
  border-radius: 14px;
  min-height: 48px;
  padding: 11px 15px;
  background: white;
  color: var(--core-ink);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.btn:hover { background: #f7f8f8; }
.btn.primary { background: var(--core-deep); color: white; border-color: var(--core-deep); }
.btn.danger { color: #7d4f4f; background: #f8eeee; border-color: #ead5d5; }
.btn:disabled { opacity: .45; cursor: wait; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--core-line);
  border-radius: 14px;
  padding: 10px 13px;
  background: white;
  color: var(--core-ink);
  font-size: 16px;
}
.field input:focus { outline: 3px solid rgba(95,147,166,.18); border-color: var(--core-teal); }
.admin-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef4f6;
  color: var(--core-deep);
  font-size: 12px;
  line-height: 1.5;
}
.admin-status.error { background: #f8eeee; color: #7d4f4f; }
.mini-results { display: grid; gap: 11px; margin-top: 20px; }
.mini-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
.mini-row strong { font-size: 13px; }
.mini-row span { font-size: 13px; color: var(--core-muted); }
.mini-bar { grid-column: 1 / -1; height: 7px; background: #edf0f1; border-radius: 99px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 0%; background: var(--core-teal); transition: width .4s ease; }
.mini-row[data-tone="purple"] .mini-bar i { background: var(--core-purple); }
.mini-row[data-tone="beige"] .mini-bar i { background: var(--core-beige); }
.quick-links { display: grid; gap: 10px; margin-top: 18px; }
.quick-link { border: 1px solid var(--core-line); border-radius: 14px; padding: 13px; background: white; }
.quick-link small { display: block; color: var(--core-muted); margin-bottom: 4px; }
.quick-link code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; overflow-wrap: anywhere; }

.footer-note { padding: 0 0 34px; text-align: center; color: #8b929c; font-size: 11px; }

@media (max-width: 900px) {
  .shell { width: min(100% - 28px, 760px); }
  .hero-grid, .presentation-grid, .admin-layout { grid-template-columns: 1fr; }
  .hero-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding: 22px 0 0; }
  .qr-panel { order: -1; }
  .presentation-grid { padding-top: 14px; }
  .event-hero { border-radius: 26px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 22px); }
  .topbar { min-height: 72px; }
  .brand-symbol { width: 38px; height: 38px; border-width: 7px; }
  .brand-copy strong { font-size: 21px; }
  .live-pill { padding: 7px 10px; font-size: 10px; }
  .event-hero { padding: 25px 21px; }
  .event-hero h1 { font-size: 34px; }
  .presentation-grid { gap: 12px; }
  .results-panel, .qr-panel { padding: 18px; border-radius: 22px; }
  .panel-head { align-items: flex-start; }
  .result-row { padding: 15px; }
  .result-top { grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; }
  .result-index { width: 34px; height: 34px; }
  .result-copy strong { font-size: 16px; }
  .result-copy span { display: none; }
  .result-number strong { font-size: 21px; }
  .vote-card { border-radius: 24px; padding: 22px 16px; }
  .vote-option { grid-template-columns: 44px minmax(0,1fr) 22px; padding: 15px 13px; gap: 10px; }
  .option-icon { width: 44px; height: 44px; }
  .control-grid { grid-template-columns: 1fr; }
}

/* V4 • feedback e bloqueio de voto */
.vote-error{margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#f8eeee;border:1px solid #ead5d5;color:#7d4f4f;font-size:13px;line-height:1.45}
.vote-option:disabled{pointer-events:none}


/* V8 • apresentação horizontal 1920x1080 */
body.presentation-page {
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 5%, rgba(95,147,166,.14), transparent 28rem),
    radial-gradient(circle at 8% 95%, rgba(126,120,170,.09), transparent 28rem),
    var(--core-bg);
}
.presentation-page .shell {
  width: min(1840px, calc(100% - 64px));
}
.presentation-page .topbar {
  min-height: 72px;
}
.presentation-page .brand-symbol {
  width: 40px;
  height: 40px;
  border-width: 7px;
}
.presentation-page .brand-copy strong { font-size: 23px; }
.presentation-page main.shell {
  height: calc(100vh - 104px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
}
.presentation-page .event-hero {
  padding: 28px 38px;
  border-radius: 30px;
}
.presentation-page .hero-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .55fr);
  gap: 44px;
  align-items: center;
}
.presentation-page .event-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.02;
  max-width: 1120px;
}
.presentation-page .event-hero .hero-note {
  font-size: 16px;
  line-height: 1.4;
}
.presentation-page .hero-side {
  padding-left: 24px;
}
.presentation-page .hero-side strong {
  font-size: clamp(26px, 2vw, 36px);
}
.presentation-page .hero-side span {
  font-size: 12px;
  line-height: 1.4;
}
.presentation-page .presentation-grid {
  min-height: 0;
  grid-template-columns: minmax(0, 1.72fr) minmax(360px, .58fr);
  gap: 18px;
  padding: 0;
}
.presentation-page .panel {
  border-radius: 24px;
}
.presentation-page .results-panel {
  min-height: 0;
  padding: 24px 28px;
}
.presentation-page .panel-head {
  margin-bottom: 16px;
}
.presentation-page .panel-head h2 {
  font-size: 26px;
}
.presentation-page .total-votes strong {
  font-size: 26px;
}
.presentation-page .results-list {
  gap: 12px;
}
.presentation-page .result-row {
  padding: 16px 18px;
  border-radius: 17px;
}
.presentation-page .result-index {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.presentation-page .result-copy strong {
  font-size: 19px;
}
.presentation-page .result-copy span {
  font-size: 11px;
  line-height: 1.3;
}
.presentation-page .result-number strong {
  font-size: 25px;
}
.presentation-page .bar-track {
  height: 9px;
  margin-top: 11px;
}
.presentation-page .hidden-results {
  padding: 34px 24px;
}
.presentation-page .qr-panel {
  min-height: 0;
  padding: 20px;
  gap: 12px;
  justify-content: space-between;
}
.presentation-page .qr-panel h3 {
  font-size: 23px;
}
.presentation-page .qr-panel p {
  font-size: 12px;
  line-height: 1.4;
}
.presentation-page .qr-box {
  min-height: 220px;
  padding: 12px;
}
.presentation-page #qrCode {
  width: 190px;
  height: 190px;
}
.presentation-page .vote-link {
  font-size: 10px;
  padding: 9px 10px;
}
.presentation-page .commercial-note {
  padding: 14px 16px;
  border-radius: 16px;
}
.presentation-page .commercial-note strong {
  font-size: 15px;
}
.presentation-page .commercial-note span {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 5px;
}
.presentation-page .footer-note {
  display: none;
}

@media (max-width: 1200px), (max-height: 760px) {
  body.presentation-page { overflow: auto; }
}


/* V9 • logo oficial + redistribuição do quadro lateral */
.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: min(48vw, 360px);
  object-fit: contain;
}
.qr-intro {
  display: grid;
  gap: 6px;
}
.qr-steps {
  display: grid;
  gap: 10px;
}
.qr-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 15px;
  background: #eef4f6;
  border: 1px solid var(--core-line);
}
.qr-step span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--core-deep);
  color: white;
  font-weight: 800;
  font-size: 13px;
}
.qr-step strong {
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.qr-brand-mark {
  margin-top: auto;
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 12px 10px 2px;
}
.qr-brand-mark img {
  width: min(100%, 255px);
  height: auto;
  object-fit: contain;
}

.presentation-page .topbar {
  min-height: 82px;
}
.presentation-page .brand-logo {
  height: 62px;
  max-width: 420px;
}
.presentation-page .qr-panel {
  padding: 22px;
  gap: 16px;
}
.presentation-page .qr-panel h3 {
  font-size: 26px;
}
.presentation-page .qr-panel p {
  font-size: 13px;
  line-height: 1.45;
  margin-top: 0;
}
.presentation-page .qr-box {
  min-height: 252px;
  padding: 14px;
}
.presentation-page #qrCode {
  width: 220px;
  height: 220px;
}
.presentation-page .qr-steps {
  gap: 9px;
}
.presentation-page .qr-step {
  padding: 10px 12px;
  border-radius: 14px;
}
.presentation-page .qr-step span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 12px;
}
.presentation-page .qr-step strong {
  font-size: 12px;
}
.presentation-page .qr-brand-mark {
  min-height: 62px;
  padding-top: 2px;
}
.presentation-page .qr-brand-mark img {
  width: min(100%, 230px);
}
@media (max-width: 700px) {
  .brand-logo { height: 44px; max-width: 250px; }
}
\n\n/* V10 • painel sem logo inferior + responsividade desktop */\n.presentation-page .qr-brand-mark { display: none !important; }\n\n/* Desktop: mantém o layout horizontal e escala conforme largura/altura disponíveis. */\n@media (min-width: 900px) {\n  body.presentation-page {\n    height: 100dvh;\n    min-height: 620px;\n    overflow: hidden;\n  }\n  .presentation-page .shell {\n    width: min(1840px, calc(100% - clamp(28px, 3.4vw, 64px)));\n  }\n  .presentation-page .topbar {\n    min-height: clamp(60px, 7.6vh, 82px);\n  }\n  .presentation-page .brand-logo {\n    height: clamp(44px, 5.8vh, 62px);\n    max-width: min(38vw, 420px);\n  }\n  .presentation-page main.shell {\n    height: calc(100dvh - clamp(84px, 9.7vh, 104px));\n    min-height: 0;\n    display: grid;\n    grid-template-rows: auto minmax(0, 1fr);\n    gap: clamp(10px, 1.7vh, 18px);\n  }\n  .presentation-page .event-hero {\n    padding: clamp(18px, 2.6vh, 28px) clamp(24px, 2.6vw, 38px);\n    border-radius: clamp(22px, 2vw, 30px);\n  }\n  .presentation-page .hero-grid {\n    grid-template-columns: minmax(0, 1.62fr) minmax(245px, .52fr);\n    gap: clamp(24px, 3vw, 44px);\n    align-items: center;\n  }\n  .presentation-page .event-hero h1 {\n    margin: clamp(5px, .8vh, 8px) 0 clamp(6px, 1vh, 10px);\n    font-size: clamp(28px, 2.8vw, 54px);\n    line-height: 1.02;\n    max-width: 1120px;\n  }\n  .presentation-page .event-hero .hero-note {\n    font-size: clamp(12px, 1.05vw, 16px);\n    line-height: 1.35;\n  }\n  .presentation-page .hero-side {\n    border-top: 0;\n    border-left: 1px solid rgba(255,255,255,.22);\n    padding: 0 0 0 clamp(16px, 1.7vw, 24px);\n  }\n  .presentation-page .hero-side strong {\n    font-size: clamp(22px, 1.9vw, 36px);\n  }\n  .presentation-page .hero-side span {\n    font-size: clamp(10px, .8vw, 12px);\n    line-height: 1.35;\n  }\n  .presentation-page .presentation-grid {\n    min-height: 0;\n    grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 440px);\n    gap: clamp(12px, 1.3vw, 18px);\n    padding: 0;\n  }\n  .presentation-page .results-panel {\n    min-height: 0;\n    padding: clamp(16px, 2.2vh, 24px) clamp(18px, 2vw, 28px);\n  }\n  .presentation-page .panel-head {\n    margin-bottom: clamp(9px, 1.5vh, 16px);\n  }\n  .presentation-page .panel-head h2 {\n    font-size: clamp(21px, 1.65vw, 26px);\n  }\n  .presentation-page .total-votes {\n    font-size: clamp(11px, .8vw, 13px);\n  }\n  .presentation-page .total-votes strong {\n    font-size: clamp(21px, 1.65vw, 26px);\n  }\n  .presentation-page .results-list {\n    gap: clamp(8px, 1.2vh, 12px);\n  }\n  .presentation-page .result-row {\n    padding: clamp(11px, 1.45vh, 16px) clamp(13px, 1.3vw, 18px);\n    border-radius: clamp(14px, 1.1vw, 17px);\n  }\n  .presentation-page .result-index {\n    width: clamp(32px, 2.5vw, 38px);\n    height: clamp(32px, 2.5vw, 38px);\n  }\n  .presentation-page .result-copy strong {\n    font-size: clamp(16px, 1.25vw, 19px);\n  }\n  .presentation-page .result-copy span {\n    font-size: clamp(9px, .72vw, 11px);\n    line-height: 1.28;\n  }\n  .presentation-page .result-number strong {\n    font-size: clamp(21px, 1.65vw, 25px);\n  }\n  .presentation-page .result-number span {\n    font-size: clamp(9px, .65vw, 11px);\n  }\n  .presentation-page .bar-track {\n    height: clamp(7px, .85vh, 9px);\n    margin-top: clamp(7px, 1vh, 11px);\n  }\n  .presentation-page .qr-panel {\n    min-height: 0;\n    padding: clamp(14px, 1.9vh, 22px);\n    gap: clamp(8px, 1.25vh, 16px);\n    justify-content: start;\n    align-content: start;\n  }\n  .presentation-page .qr-intro {\n    gap: clamp(3px, .6vh, 6px);\n  }\n  .presentation-page .qr-panel h3 {\n    font-size: clamp(20px, 1.65vw, 26px);\n  }\n  .presentation-page .qr-panel p {\n    font-size: clamp(10px, .82vw, 13px);\n    line-height: 1.38;\n  }\n  .presentation-page .qr-box {\n    min-height: 0;\n    height: clamp(160px, 26vh, 252px);\n    padding: clamp(8px, 1.1vh, 14px);\n  }\n  .presentation-page #qrCode {\n    width: clamp(145px, 20vh, 220px);\n    height: clamp(145px, 20vh, 220px);\n  }\n  .presentation-page .qr-steps {\n    gap: clamp(5px, .85vh, 9px);\n  }\n  .presentation-page .qr-step {\n    grid-template-columns: clamp(24px, 2.1vw, 28px) minmax(0, 1fr);\n    gap: clamp(7px, .75vw, 10px);\n    padding: clamp(6px, .8vh, 10px) clamp(8px, .85vw, 12px);\n    border-radius: clamp(10px, .9vw, 14px);\n  }\n  .presentation-page .qr-step span {\n    width: clamp(24px, 2.1vw, 28px);\n    height: clamp(24px, 2.1vw, 28px);\n    border-radius: 8px;\n    font-size: clamp(10px, .75vw, 12px);\n  }\n  .presentation-page .qr-step strong {\n    font-size: clamp(10px, .78vw, 12px);\n  }\n}\n\n/* Notebooks mais baixos, como 1366x768: compacta verticalmente sem perder o 16:9. */\n@media (min-width: 900px) and (max-height: 800px) {\n  .presentation-page .topbar { min-height: 58px; }\n  .presentation-page .brand-logo { height: 43px; }\n  .presentation-page main.shell { height: calc(100dvh - 74px); gap: 9px; }\n  .presentation-page .event-hero { padding: 14px 24px; border-radius: 20px; }\n  .presentation-page .event-hero h1 { font-size: clamp(26px, 2.45vw, 40px); margin: 4px 0 5px; }\n  .presentation-page .event-hero .hero-note { font-size: 11px; }\n  .presentation-page .hero-side strong { font-size: clamp(20px, 1.65vw, 28px); }\n  .presentation-page .hero-side span { font-size: 9px; }\n  .presentation-page .results-panel { padding: 13px 18px; }\n  .presentation-page .panel-head { margin-bottom: 8px; }\n  .presentation-page .panel-head h2 { font-size: 19px; }\n  .presentation-page .total-votes strong { font-size: 20px; }\n  .presentation-page .results-list { gap: 7px; }\n  .presentation-page .result-row { padding: 9px 12px; }\n  .presentation-page .result-copy strong { font-size: 15px; }\n  .presentation-page .result-copy span { font-size: 8.5px; margin-top: 2px; }\n  .presentation-page .result-number strong { font-size: 20px; }\n  .presentation-page .bar-track { height: 6px; margin-top: 6px; }\n  .presentation-page .qr-panel { padding: 12px; gap: 6px; }\n  .presentation-page .qr-panel h3 { font-size: 18px; }\n  .presentation-page .qr-panel p { font-size: 9px; }\n  .presentation-page .qr-box { height: 154px; padding: 6px; }\n  .presentation-page #qrCode { width: 140px; height: 140px; }\n  .presentation-page .qr-steps { gap: 4px; }\n  .presentation-page .qr-step { padding: 5px 7px; }\n  .presentation-page .qr-step span { width: 22px; height: 22px; font-size: 9px; }\n  .presentation-page .qr-step strong { font-size: 9px; }\n}\n\n/* Em telas estreitas/tablets, passa para fluxo vertical e permite rolagem. */\n@media (max-width: 899px) {\n  body.presentation-page {\n    height: auto;\n    min-height: 100dvh;\n    overflow: auto;\n  }\n  .presentation-page main.shell { height: auto; display: block; }\n  .presentation-page .presentation-grid { grid-template-columns: 1fr; padding: 14px 0 28px; }\n  .presentation-page .qr-panel { order: -1; }\n}\n

/* V11 • ajuste fino para caber sem cortar em telas mais baixas */
.presentation-page .presentation-grid {
  align-items: stretch;
}
.presentation-page .results-panel,
.presentation-page .qr-panel {
  height: 100%;
}
.presentation-page .qr-panel {
  gap: 10px;
}
.presentation-page .qr-intro {
  gap: 4px;
}
.presentation-page .qr-box {
  min-height: 0;
  height: clamp(170px, 25vh, 235px);
}
.presentation-page #qrCode {
  width: min(100%, 190px);
  height: min(100%, 190px);
}
.presentation-page .qr-steps {
  gap: 8px;
}
.presentation-page .qr-step {
  padding: 9px 10px;
}
.presentation-page .qr-step strong {
  font-size: 11px;
  line-height: 1.25;
}
.presentation-page .results-list {
  gap: 10px;
}
.presentation-page .result-row {
  padding: 14px 16px;
}
.presentation-page .result-copy span {
  font-size: 10px;
}
.presentation-page .bar-track {
  margin-top: 9px;
}
@media (max-height: 860px) {
  .presentation-page main.shell {
    gap: 14px;
  }
  .presentation-page .event-hero {
    padding: 22px 30px;
  }
  .presentation-page .event-hero h1 {
    font-size: clamp(28px, 2.3vw, 42px);
    margin: 6px 0 8px;
  }
  .presentation-page .event-hero .hero-note {
    font-size: 14px;
  }
  .presentation-page .hero-grid {
    gap: 28px;
  }
  .presentation-page .hero-side strong {
    font-size: 26px;
  }
  .presentation-page .hero-side span {
    font-size: 11px;
  }
  .presentation-page .presentation-grid {
    gap: 14px;
  }
  .presentation-page .results-panel {
    padding: 18px 22px;
  }
  .presentation-page .panel-head {
    margin-bottom: 12px;
  }
  .presentation-page .panel-head h2 {
    font-size: 22px;
  }
  .presentation-page .total-votes {
    font-size: 12px;
  }
  .presentation-page .total-votes strong {
    font-size: 22px;
  }
  .presentation-page .result-index {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .presentation-page .result-copy strong {
    font-size: 17px;
  }
  .presentation-page .result-number strong {
    font-size: 22px;
  }
  .presentation-page .result-number span {
    font-size: 10px;
  }
  .presentation-page .qr-panel {
    padding: 16px;
    gap: 8px;
  }
  .presentation-page .qr-panel h3 {
    font-size: 20px;
  }
  .presentation-page .qr-panel p {
    font-size: 11px;
    line-height: 1.3;
  }
  .presentation-page .qr-box {
    height: clamp(150px, 22vh, 200px);
    padding: 10px;
  }
  .presentation-page #qrCode {
    width: min(100%, 170px);
    height: min(100%, 170px);
  }
  .presentation-page .qr-step {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 9px;
    border-radius: 12px;
  }
  .presentation-page .qr-step span {
    width: 24px;
    height: 24px;
    font-size: 11px;
    border-radius: 8px;
  }
  .presentation-page .qr-step strong {
    font-size: 10px;
  }
}
@media (max-height: 760px) {
  .presentation-page .presentation-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(250px, .5fr);
  }
  .presentation-page .event-hero {
    padding: 18px 24px;
  }
  .presentation-page .event-hero h1 {
    font-size: clamp(24px, 2vw, 34px);
  }
  .presentation-page .results-panel {
    padding: 14px 18px;
  }
  .presentation-page .result-row {
    padding: 12px 14px;
  }
  .presentation-page .result-copy strong {
    font-size: 16px;
  }
  .presentation-page .result-copy span {
    font-size: 9px;
    line-height: 1.2;
  }
  .presentation-page .result-number strong {
    font-size: 20px;
  }
  .presentation-page .bar-track {
    height: 8px;
  }
  .presentation-page .qr-panel {
    padding: 14px;
  }
  .presentation-page .qr-panel h3 {
    font-size: 18px;
  }
  .presentation-page .qr-panel p {
    font-size: 10px;
  }
  .presentation-page .qr-box {
    height: clamp(138px, 20vh, 168px);
  }
  .presentation-page #qrCode {
    width: min(100%, 150px);
    height: min(100%, 150px);
  }
  .presentation-page .qr-step strong {
    font-size: 9.5px;
  }
}


/* V13 • ajuste fino do QR code dentro do quadrado */
.presentation-page .qr-box {
  overflow: hidden;
  display: grid;
  place-items: center;
}
.presentation-page #qrCode {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 6px;
}
.presentation-page #qrCode img,
.presentation-page #qrCode canvas {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto;
}


/* V14 • remove passos, amplia cabeçalho, descrições e QR */
.presentation-page .qr-steps {
  display: none !important;
}
.presentation-page .event-hero {
  padding: clamp(24px, 3vh, 34px) clamp(28px, 3vw, 42px) !important;
}
.presentation-page .event-hero h1 {
  font-size: clamp(32px, 3.15vw, 58px) !important;
  line-height: 1.04 !important;
  margin: clamp(6px, 0.9vh, 10px) 0 clamp(8px, 1.1vh, 12px) !important;
}
.presentation-page .event-hero .hero-note {
  font-size: clamp(13px, 1.1vw, 17px) !important;
  line-height: 1.42 !important;
}
.presentation-page .result-copy span {
  font-size: clamp(11px, 0.9vw, 15px) !important;
  line-height: 1.42 !important;
  margin-top: 5px !important;
}
.presentation-page .qr-panel {
  justify-content: start !important;
  align-content: start !important;
}
.presentation-page .qr-box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 0 2px !important;
  display: grid !important;
  place-items: center !important;
}
.presentation-page #qrCode {
  width: min(100%, clamp(190px, 24vh, 280px)) !important;
  height: min(100%, clamp(190px, 24vh, 280px)) !important;
  padding: 0 !important;
}
.presentation-page #qrCode img,
.presentation-page #qrCode canvas {
  max-width: 100% !important;
  max-height: 100% !important;
}
@media (min-width: 900px) and (max-height: 800px) {
  .presentation-page .event-hero {
    padding: 16px 24px !important;
  }
  .presentation-page .event-hero h1 {
    font-size: clamp(28px, 2.7vw, 42px) !important;
  }
  .presentation-page .event-hero .hero-note {
    font-size: 12px !important;
  }
  .presentation-page .result-copy span {
    font-size: 10px !important;
    line-height: 1.34 !important;
  }
  .presentation-page #qrCode {
    width: min(100%, 210px) !important;
    height: min(100%, 210px) !important;
  }
}


/* V15 • centraliza e amplia o topo do painel QR + ajusta proporção do QR */
.presentation-page .qr-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  padding-top: clamp(20px, 2.2vh, 28px) !important;
}
.presentation-page .qr-intro {
  width: 100%;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 8px !important;
}
.presentation-page .qr-intro .kicker {
  font-size: clamp(12px, .95vw, 16px) !important;
  letter-spacing: .14em !important;
}
.presentation-page .qr-panel h3 {
  font-size: clamp(24px, 1.95vw, 32px) !important;
  line-height: 1.08 !important;
  margin: 0 !important;
}
.presentation-page .qr-panel p {
  font-size: clamp(13px, 1.02vw, 17px) !important;
  line-height: 1.42 !important;
  max-width: 28ch;
  margin: 0 auto !important;
}
.presentation-page .qr-box {
  width: 100%;
  margin-top: clamp(8px, 1.1vh, 14px);
  padding: 0 !important;
}
.presentation-page #qrCode {
  width: min(100%, clamp(240px, 31vh, 360px)) !important;
  height: min(100%, clamp(240px, 31vh, 360px)) !important;
}
@media (min-width: 900px) and (max-height: 800px) {
  .presentation-page .qr-panel {
    padding-top: 14px !important;
  }
  .presentation-page .qr-intro {
    gap: 6px !important;
  }
  .presentation-page .qr-intro .kicker {
    font-size: 11px !important;
  }
  .presentation-page .qr-panel h3 {
    font-size: clamp(21px, 1.7vw, 26px) !important;
  }
  .presentation-page .qr-panel p {
    font-size: 11.5px !important;
    max-width: 30ch;
  }
  .presentation-page #qrCode {
    width: min(100%, 285px) !important;
    height: min(100%, 285px) !important;
  }
}


/* V16 • padding antes e depois da logo */
.presentation-page .brand {
  padding-left: 30px !important;
  padding-right: 30px !important;
}
@media (max-width: 899px) {
  .presentation-page .brand {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}


/* V17 • mais respiro ao redor da logo */
.presentation-page .topbar {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  min-height: auto !important;
}
.presentation-page .brand {
  padding-left: 36px !important;
  padding-right: 36px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.presentation-page main.shell {
  margin-top: 6px;
}
@media (min-width: 900px) {
  .presentation-page .topbar {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  .presentation-page .brand {
    padding-left: 40px !important;
    padding-right: 40px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
  .presentation-page main.shell {
    margin-top: 10px;
  }
}
@media (min-width: 900px) and (max-height: 800px) {
  .presentation-page .topbar {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
  .presentation-page .brand {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
  .presentation-page main.shell {
    margin-top: 8px;
  }
}


/* V18 • cabeçalho com Onest Black */
.presentation-page .event-hero h1 {
  font-family: "Onest", Poppins, Inter, Arial, Helvetica, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}


/* V19 • aumenta espaçamento entre letras da pergunta */
.presentation-page .event-hero h1 {
  letter-spacing: -0.015em !important;
}
@media (min-width: 900px) and (max-height: 800px) {
  .presentation-page .event-hero h1 {
    letter-spacing: -0.01em !important;
  }
}
