/* ===========================================================
   Raio-X da Clinica Busia · Preview Sprint 0
   Paleta Midnight #0A1628 + Electric #00D4FF
   Mobile-first 375 base, escala ate 430+
   =========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #0A1628;
  --bg-deep: #06101C;
  --bg-card: #0E1F35;
  --electric: #00D4FF;
  --electric-dim: #00A8CC;
  --electric-bg: rgba(0, 212, 255, 0.08);
  --text: #E8F4F8;
  --text-dim: #7B8FA1;
  --text-mute: #5A6B7C;
  --border: #1A2F45;
  --border-strong: #243F5C;
  --success: #00E676;
  --warn: #FFB300;
  --error: #FF5252;
  --radius: 16px;
  --radius-sm: 10px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ==================== TOPBAR ==================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar[hidden] { display: none; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}
.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 14px; letter-spacing: 2px;
  color: var(--text);
}
.step-counter {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--text-dim);
}
.progress {
  height: 3px; background: var(--border);
}
.progress-fill {
  height: 100%; background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
  transition: width .35s cubic-bezier(.25,.46,.45,.94);
}

/* ==================== VIEWPORT ==================== */
.viewport {
  max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
}

.screen {
  display: none;
  padding: 28px 24px 80px;
  animation: fadeIn .35s ease;
}
.screen.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== CAPA ==================== */
.screen--capa {
  padding-top: 36px;
  text-align: left;
}
.capa-brand {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
}
.capa-brand .brand-text {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--text-dim);
}

.capa-hero {
  position: relative;
  height: 200px;
  margin: 12px 0 32px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at center, rgba(0,212,255,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #0E1F35 0%, #06101C 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--electric);
  opacity: .25;
  animation: pulse 3s ease-in-out infinite;
}
.ring-1 { width: 60px; height: 60px; }
.ring-2 { width: 110px; height: 110px; animation-delay: .4s; opacity: .15; }
.ring-3 { width: 170px; height: 170px; animation-delay: .8s; opacity: .08; }
.ring-core {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 28px var(--electric);
  z-index: 1;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: var(--start-op, .25); }
  50% { transform: scale(1.08); opacity: .4; }
}
.hero-pulse {
  position: absolute; right: 18px; bottom: 18px;
  display: flex; gap: 4px;
}
.hero-pulse span {
  width: 3px; height: 18px;
  background: var(--electric);
  border-radius: 2px;
  animation: bars 1.4s ease-in-out infinite;
}
.hero-pulse span:nth-child(2) { animation-delay: .2s; height: 28px; }
.hero-pulse span:nth-child(3) { animation-delay: .4s; height: 14px; }
@keyframes bars {
  0%, 100% { transform: scaleY(.6); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.capa-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 16px;
}
.capa-title .grad {
  display: block;
  background: linear-gradient(120deg, var(--electric) 0%, #6EE7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.capa-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 360px;
}

.capa-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}
.capa-bullets li {
  font-size: 14px;
  color: var(--text);
  display: flex; align-items: flex-start; gap: 10px;
}
.bullet-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--electric-bg);
  color: var(--electric);
  font-size: 12px; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

.btn-cta {
  width: 100%;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-cta .arrow {
  transition: transform .2s ease;
}
.btn-cta:hover .arrow { transform: translateX(4px); }

.capa-trust {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 1px;
}

/* ==================== SCREEN HEAD ==================== */
.screen-head {
  margin-bottom: 28px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--electric);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.screen-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 8px;
}
.screen-head h2 em { color: var(--electric); font-style: normal; }
.screen-head .lead {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.screen-head .lead em { color: var(--text); font-style: normal; }

/* ==================== FORM ==================== */
.form-stack {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 13px; font-weight: 600;
  color: var(--text);
}
.field-label .opt {
  font-size: 11px; font-weight: 500;
  color: var(--text-mute);
  margin-left: 6px;
}
.field input,
.field select {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  min-height: 50px;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%237B8FA1' d='M6 7.4L0 1.4 1.4 0 6 4.6 10.6 0 12 1.4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.field input::placeholder {
  color: var(--text-mute);
}

/* LGPD CARD */
.lgpd-card {
  display: flex; gap: 12px;
  background: var(--electric-bg);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 8px;
  font-size: 13px;
}
.lgpd-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--electric);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; font-style: italic;
  font-family: Georgia, serif;
}
.lgpd-card strong { color: var(--text); display: block; margin-bottom: 4px; font-weight: 700; }
.lgpd-card p { color: var(--text-dim); font-size: 12.5px; line-height: 1.5; }

/* ==================== PILAR (perguntas) ==================== */
.questions {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 28px;
}
.q-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.q-num {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--electric);
  margin-bottom: 8px;
  display: block;
}
.q-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 14px;
}
.q-options {
  display: flex; flex-direction: column; gap: 8px;
}
.q-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
}
.q-opt:hover { border-color: var(--border-strong); }
.q-opt input { display: none; }
.q-radio {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
  transition: border-color .15s;
}
.q-opt:has(input:checked) {
  border-color: var(--electric);
  background: rgba(0, 212, 255, 0.06);
}
.q-opt:has(input:checked) .q-radio {
  border-color: var(--electric);
}
.q-opt:has(input:checked) .q-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
}

/* ==================== NAV ACTIONS ==================== */
.nav-actions {
  display: flex; gap: 10px;
  margin-top: 24px;
}
.nav-actions .btn-ghost { flex: 0 0 auto; padding: 0 22px; }
.nav-actions .btn-primary { flex: 1; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 28px;
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.1px;
  transition: transform .15s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--electric);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5);
}
.btn-primary:hover {
  background: #1FE0FF;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost-line {
  background: transparent;
  color: var(--electric);
  border: 2px solid var(--electric);
  width: 100%;
  margin-top: 12px;
}
.btn-ghost-line:hover {
  background: var(--electric-bg);
}

.btn-skip {
  display: block;
  margin: 18px auto 0;
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: transparent;
  padding: 8px 16px;
}
.btn-skip:hover { color: var(--text-dim); }

/* ==================== GERACAO ==================== */
.screen--gen {
  text-align: center;
  padding-top: 50px;
}
.gen-eyebrow {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--electric);
  margin-bottom: 32px;
}
.gen-counter {
  margin-bottom: 24px;
}
.counter-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--electric);
  display: block;
  text-shadow: 0 0 32px rgba(0, 212, 255, 0.4);
}
.counter-eta {
  display: block;
  margin-top: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: var(--text-dim);
}
.gen-ring {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 28px;
}
.gen-spark {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: var(--electric);
  animation: spin 4s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.gen-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 10px;
}
.gen-sub {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 280px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.gen-stages {
  list-style: none;
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.gen-stages li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--text-mute);
  transition: color .3s;
}
.stage-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  position: relative;
  flex-shrink: 0;
  transition: all .3s;
}
.gen-stages li.done {
  color: var(--text-dim);
}
.gen-stages li.done .stage-dot {
  background: var(--electric);
  border-color: var(--electric);
}
.gen-stages li.done .stage-dot::after {
  content: '';
  position: absolute;
  left: 4px; top: 6px;
  width: 5px; height: 9px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.gen-stages li.active {
  color: var(--text);
  font-weight: 600;
}
.gen-stages li.active .stage-dot {
  border-color: var(--electric);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
  animation: stagePulse 1.4s ease-out infinite;
}
.gen-stages li.active .stage-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--electric);
}
@keyframes stagePulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5); }
  100% { box-shadow: 0 0 0 12px rgba(0, 212, 255, 0); }
}
.gen-foot {
  margin-top: 36px;
  font-size: 12px;
  color: var(--text-mute);
}

/* ==================== ENTREGA ==================== */
.screen--entrega { padding-top: 20px; }
.entrega-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--text-dim);
}
.entrega-head .eyebrow { margin: 0; color: var(--electric); font-size: 10px; }

.entrega-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 14px;
}

.entrega-microcopy {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 12px;
}
.entrega-microcopy strong { color: var(--electric); font-weight: 700; }

.entrega-meta {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* CARD INDICE */
.card-indice {
  background: linear-gradient(160deg, #0E1F35 0%, #06101C 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.card-indice::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  width: 240px; height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.indice-label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--electric);
  margin-bottom: 8px;
  position: relative;
}
.indice-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 80px;
  line-height: 1;
  color: var(--electric);
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
  display: inline-block;
  position: relative;
}
.indice-of {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dim);
  margin-left: 4px;
  position: relative;
}
.indice-fase {
  display: block;
  margin-top: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--warn);
  position: relative;
}
.indice-fase-desc {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 280px;
  margin-left: auto; margin-right: auto;
  position: relative;
}

/* CARD RADAR */
.card-radar {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 24px;
}
.card-radar h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}
.radar-wrap {
  display: flex; flex-direction: column; align-items: center;
}
.radar-legend {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  width: 100%;
  margin-top: 8px;
}
.radar-legend li {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}
.radar-legend strong {
  color: var(--electric);
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* CARD ALERTA DISCREPANCIA */
.card-alert {
  display: flex; gap: 0;
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.08) 0%, var(--bg-deep) 100%);
  border: 1px solid rgba(255, 82, 82, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.alert-bar {
  flex-shrink: 0;
  width: 4px;
  background: var(--error);
}
.alert-content {
  padding: 18px;
  flex: 1;
}
.alert-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--error);
  margin-bottom: 8px;
}
.alert-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}
.alert-content p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 10px;
}
.alert-content p strong { color: var(--electric); font-weight: 700; }
.alert-source {
  font-size: 11px;
  color: var(--text-mute);
  font-style: italic;
}

/* CARD LEITURA */
.card-leitura {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 28px;
}
.card-leitura h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}
.card-leitura p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.card-leitura p:last-child { margin-bottom: 0; }
.card-leitura strong { color: var(--electric); font-weight: 600; }

/* SECTION TITLE */
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.section-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* GARGALOS */
.card-gargalo {
  display: flex;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
}
.gargalo-bar { width: 4px; flex-shrink: 0; }
.gargalo--critico .gargalo-bar { background: var(--error); }
.gargalo--atencao .gargalo-bar { background: var(--warn); }
.gargalo-body { padding: 14px 16px; flex: 1; }
.gargalo-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.gargalo--critico .gargalo-tag { color: var(--error); }
.gargalo--atencao .gargalo-tag { color: var(--warn); }
.gargalo-body h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.gargalo-body p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.gargalo-body strong { color: var(--text); font-weight: 600; }

.card-gargalo + .section-title { margin-top: 32px; }

/* ACOES */
.acoes-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 8px;
}
.acoes-list li {
  display: flex; gap: 14px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.acao-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--electric-bg);
  border: 1px solid var(--electric);
  color: var(--electric);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.acoes-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 4px;
}
.acoes-list span {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.acoes-list + .section-title { margin-top: 32px; }

/* CARD MES */
.card-mes {
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--electric);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 32px;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}
.mes-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--electric);
  margin-bottom: 8px;
}
.card-mes h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-mes p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
}
.card-mes strong { color: var(--electric); font-weight: 600; }

/* CTAs FINAIS */
.btn-final {
  width: 100%;
  margin-bottom: 8px;
}
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-top: 14px;
  color: var(--electric);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px;
}
.btn-whatsapp svg { flex-shrink: 0; }
.btn-whatsapp:hover { color: #4FE3FF; }

.entrega-foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
  line-height: 1.5;
}

.entrega-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--text-mute);
}

/* ==================== ADMIN BACKSTAGE ==================== */
.screen--admin { padding-top: 0; }
.admin-nav {
  background: var(--bg-deep);
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  margin: 0 -24px 24px;
  border-bottom: 1px solid var(--border);
}
.admin-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--warn);
}
.admin-user {
  font-size: 11px; font-weight: 600;
  color: var(--electric);
}
.admin-head { margin-bottom: 24px; }
.admin-head h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 6px;
}
.admin-head p {
  font-size: 13px;
  color: var(--text-dim);
}

.admin-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 24px;
  position: relative;
}
.admin-eyebrow {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--electric);
  margin-bottom: 8px;
}
.admin-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}
.admin-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.admin-meta {
  display: flex; flex-direction: column; gap: 10px;
}
.admin-meta > div {
  display: flex; flex-direction: column; gap: 2px;
}
.admin-meta dt {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-mute);
}
.admin-meta dd {
  font-size: 13.5px;
  color: var(--text);
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--text-dim);
}

.admin-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.metric {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
}
.metric-label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.metric-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}
.metric-num--cyan { color: var(--electric); }
.metric-num--warn { color: var(--warn); font-size: 13px; }
.metric-num--err { color: var(--error); font-size: 13px; }

.admin-raw {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-dim);
  overflow-x: auto;
  margin-bottom: 24px;
  white-space: pre;
}

.admin-card--ok {
  border-color: var(--electric);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}
.admin-card--ok strong {
  display: inline-block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 14px;
}
.ok-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 8px;
  box-shadow: 0 0 10px var(--success);
}

.admin-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--success);
  background: rgba(0, 230, 118, 0.1);
  border-radius: 12px;
}

/* TABELA */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 28px;
  font-size: 13px;
}
.admin-table th {
  text-align: left;
  padding: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-mute);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .row-active td { background: rgba(0, 212, 255, 0.04); }
.admin-table .row-sub {
  display: block;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 1px;
  margin-top: 2px;
}
.badge-num {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--electric);
}
.badge-warn, .badge-ok, .badge-err {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
}
.badge-warn { color: var(--warn); background: rgba(255, 179, 0, 0.1); }
.badge-ok   { color: var(--success); background: rgba(0, 230, 118, 0.1); }
.badge-err  { color: var(--error); background: rgba(255, 82, 82, 0.1); }

.admin-actions {
  display: flex; gap: 10px;
  margin-bottom: 24px;
}
.admin-actions .btn { flex: 1; min-height: 48px; font-size: 13px; }
.admin-actions .btn-ghost-line { margin-top: 0; }

.admin-foot {
  text-align: center;
  font-size: 11px;
  color: var(--text-mute);
  padding: 16px 0;
}

/* ==================== ADMIN ENTRY ==================== */
.admin-entry {
  position: fixed;
  bottom: 14px; right: 14px;
  z-index: 30;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0.5;
  transition: opacity .2s;
}
.admin-entry:hover { opacity: 1; }

/* ==================== ENTREGA RESPONSIVE TWEAKS ==================== */
@media (min-width: 420px) {
  .indice-num { font-size: 96px; }
  .capa-title { font-size: 36px; }
  .entrega-h1 { font-size: 26px; }
}
