/* === Up Telecom - Lead Capture === */
:root {
  --blue-900: #051845;
  --blue-800: #0a2670;
  --blue-700: #103da8;
  --blue-600: #1956d4;
  --blue-500: #2c74e8;
  --blue-400: #4a90f0;
  --orange: #ff6a00;
  --orange-dark: #e85f00;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #0f1729;
  --muted: #5b6478;
  --border: #e3e7ef;
  --danger: #dc2626;
  --success: #16a34a;
  --shadow: 0 6px 20px rgba(10, 38, 112, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-700); }

/* ====== LOGO Up+ TELECOM ====== */
.up-logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
}
.up-logo .u { color: white; font-size: 1em; }
.up-logo .plus { color: var(--orange); font-size: 1.1em; margin: 0 2px; }
.up-logo .telecom { color: white; font-size: 0.7em; letter-spacing: 2px; margin-left: 4px; }
.up-logo .fibra {
  display: block;
  color: white;
  opacity: 0.85;
  font-size: 0.32em;
  letter-spacing: 8px;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
}

/* ====== PAGINA PUBLICA ====== */
body.public {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top right, #2c74e8 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, #103da8 0%, transparent 50%),
    linear-gradient(160deg, #051845 0%, #0a2670 60%, #103da8 100%);
  background-attachment: fixed;
  padding: 16px 14px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  width: 100%;
  max-width: 480px;
  padding: 16px 16px 8px;
  text-align: center;
  color: white;
}
.hero.compact { padding: 8px 16px 0; }
.hero .up-logo { font-size: 32px; margin-bottom: 4px; }

.banner {
  width: 100%;
  max-width: 480px;
  margin: 12px auto 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  background: rgba(255, 255, 255, 0.05);
}
.banner.compact { margin: 8px auto 14px; }
.banner img { display: block; width: 100%; height: auto; }
.banner-placeholder {
  display: none;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 4px;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 14px;
}
.banner-placeholder small { font-size: 11px; letter-spacing: 0; opacity: 0.7; font-weight: 400; }
.banner-placeholder code { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; font-size: 11px; }
.banner.empty .banner-placeholder { display: flex; }

body.public .card {
  background: var(--surface);
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* ====== PROGRESS BAR ====== */
.progress-wrap { margin-bottom: 18px; }
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.progress-info span:last-child { color: var(--orange); }
.progress-bar {
  height: 8px;
  background: #e8edf6;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ff8c3a);
  border-radius: 999px;
  transition: width .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 10px rgba(255,106,0,0.4);
}

/* ====== STEPS (multi-step form) ====== */
.partner-tag {
  font-size: 12px;
  color: var(--blue-700);
  background: #e8f0ff;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step {
  display: none;
  animation: stepFadeIn .35s cubic-bezier(.4,0,.2,1);
}
.step.active { display: block; }
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-title {
  margin: 4px 0 4px;
  font-size: 22px;
  color: var(--blue-800);
  font-weight: 700;
  line-height: 1.25;
}
.step-help {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

form input[type="text"], form input[type="tel"], form input[type="password"], form input[type="search"], form select {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 17px;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
form input:focus, form select:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(25, 86, 212, 0.15);
}

.step-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.step-actions .btn { flex: 1; }
.step-actions .btn.ghost { flex: 0 0 auto; min-width: 90px; }

/* Big radio cards (Sim/Nao) */
.big-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.big-radio { cursor: pointer; }
.big-radio input { display: none; }
.big-radio-card {
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 22px 12px;
  text-align: center;
  background: white;
  transition: all .2s;
}
.big-radio-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 10px;
  transition: all .2s;
}
.big-radio-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.big-radio input:checked + .big-radio-card {
  border-color: var(--orange);
  background: #fff5ec;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(255,106,0,0.15);
}
.big-radio input:checked + .big-radio-card .big-radio-icon {
  background: var(--orange);
  color: white;
}

/* Provider chips */
.provider-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  background: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.chip:hover { border-color: var(--blue-500); }
.chip.selected {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: white;
}

/* Botoes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  background: white;
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn.primary {
  background: var(--orange);
  color: white;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.3);
}
.btn.primary:hover { background: var(--orange-dark); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.ghost { background: transparent; border-color: var(--border); color: var(--muted); }
.btn.ghost:hover { border-color: var(--blue-500); color: var(--blue-700); }
.btn.danger { background: white; color: var(--danger); border-color: var(--danger); }

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.alert.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* ===== Logo customizada ===== */
.hero-logo-img {
  display: block;
  max-height: 64px;
  max-width: 240px;
  margin: 0 auto 8px;
  height: auto;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}
.brand-logo-img {
  display: block;
  max-height: 36px;
  max-width: 140px;
  height: auto;
  width: auto;
}
.admin-tag {
  opacity: 0.6;
  font-weight: 400;
  font-size: 13px;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

/* ===== Upload de branding ===== */
.upload-preview { margin-bottom: 14px; }
.preview-box {
  width: 100%;
  min-height: 140px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: #fafbfd;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}
.preview-box.dark {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  border-color: var(--blue-700);
}
.preview-box img {
  max-width: 100%;
  max-height: 200px;
  height: auto;
  width: auto;
  object-fit: contain;
}
.preview-box.empty span {
  color: var(--muted);
  font-size: 13px;
}
.preview-box.dark.empty span { color: rgba(255,255,255,0.6); }

.upload-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.file-input {
  flex: 1;
  min-width: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  padding: 10px 14px;
  transition: border-color .15s;
}
.file-input:hover { border-color: var(--blue-500); }
.file-input input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-input span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: none; }

/* ===== Midia destaque (video / post) no topo do form ===== */
.media-top {
  width: 100%;
  max-width: 480px;
  margin: 8px auto 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  background: #0a0e1a;
  position: relative;
}
.video-wrap::before {
  content: "Carregando...";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  z-index: 0;
}
.video-wrap iframe,
.video-wrap video {
  z-index: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Modo clean: overlay invisivel impede clique no video (evita pause/UI YouTube) */
.video-wrap.clean .video-tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  cursor: default;
}

/* YouTube IFrame API renderiza um iframe dentro de #yt-player - posiciona absoluto */
.video-wrap.clean #yt-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-wrap.clean #yt-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Escala YouTube/Vimeo um pouco pra esconder marcas d'agua das bordas */
.video-wrap.clean[data-video-type="youtube"] #yt-player,
.video-wrap.clean[data-video-type="vimeo"] iframe {
  transform: scale(1.06);
  transform-origin: center center;
}
.video-wrap iframe,
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Video preview no admin */
.video-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: black;
  position: relative;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.video-preview iframe,
.video-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tabs do video */
.video-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin: 14px 0 14px;
}
.vtab {
  background: none;
  border: none;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.vtab:hover { color: var(--blue-700); }
.vtab.active { color: var(--blue-800); border-bottom-color: var(--orange); }

.vtab-content { display: none; }
.vtab-content.active { display: block; }
.vtab-content input[type="url"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: white;
}
.vtab-content input[type="url"]:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(25, 86, 212, 0.15);
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin-top: 18px;
  margin-bottom: 0;
}
.footer-contact {
  text-align: center;
  margin-top: 20px;
  color: white;
  opacity: 0.85;
  font-size: 12px;
  width: 100%;
  max-width: 480px;
}
.footer-contact strong { color: var(--orange); }

.success-card { text-align: center; }
.check {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.muted { color: var(--muted); }

/* ====== ADMIN ====== */
body.admin { background: var(--bg); }
.admin-header {
  background: var(--blue-800);
  border-bottom: 3px solid var(--orange);
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.admin-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 16px;
}
.admin-brand .up-logo { font-size: 20px; }
.admin-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}
.admin-nav a:hover { opacity: 1; color: var(--orange); }
.link-btn {
  background: none;
  border: none;
  color: white;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  opacity: 0.9;
}
.link-btn:hover { opacity: 1; }
.link-btn.danger { color: var(--danger); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 60px;
}
.container h1 {
  margin: 0 0 16px;
  font-size: 26px;
  color: var(--blue-800);
  display: flex;
  align-items: center;
  gap: 10px;
}
.container h2 { font-size: 17px; margin: 4px 0 14px; color: var(--blue-800); }

.count-badge {
  background: var(--orange);
  color: white;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}
.stat {
  background: white;
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--blue-600);
}
.stat.highlight { border-left-color: var(--orange); }
.stat.highlight .stat-num { color: var(--orange); }
.stat-num { font-size: 30px; font-weight: 700; color: var(--blue-700); line-height: 1; }
.stat-label { color: var(--muted); font-size: 12px; margin-top: 6px; font-weight: 500; }

.panel {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.panel h2 { margin-top: 0; }

/* Bar chart 7 dias */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding: 10px 0 0;
  overflow-x: auto;
}
.bar-item {
  flex: 1;
  min-width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bar {
  width: 100%;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  border-radius: 6px 6px 0 0;
  position: relative;
  min-height: 8px;
  transition: opacity .2s;
}
.bar:hover { opacity: 0.85; }
.bar-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-800);
}
.bar-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Provider bars */
.provider-bars { display: flex; flex-direction: column; gap: 10px; }
.provider-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 10px;
}
.provider-name { font-size: 13px; font-weight: 600; }
.provider-track {
  height: 22px;
  background: #f0f3f9;
  border-radius: 6px;
  overflow: hidden;
}
.provider-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ff8c3a);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  min-width: 28px;
  border-radius: 6px;
  transition: width .4s;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 16px;
  overflow-x: auto;
}
.tab {
  padding: 10px 18px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tab:hover { color: var(--blue-700); }
.tab.active { color: var(--blue-800); border-bottom-color: var(--orange); }
.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: white;
}
.tab-icon.orange { background: var(--orange); }

/* Filtros */
.filter-bar {
  background: white;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.filter-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.filter-row label { font-size: 12px; font-weight: 600; color: var(--muted); display: block; }
.filter-row label span { display: block; margin-bottom: 4px; }
.filter-row input, .filter-row select { padding: 9px 12px; font-size: 14px; }
.filter-row .grow { min-width: 0; }
.filter-actions { display: flex; gap: 8px; }
@media (max-width: 700px) {
  .filter-row { grid-template-columns: 1fr; }
  .filter-actions .btn { flex: 1; }
}

/* Tabela */
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); }
.table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.table.compact { font-size: 13px; }
.table th, .table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table.compact th, .table.compact td { padding: 8px 10px; }
.table th { background: var(--blue-800); color: white; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #f9fbff; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.tag.small { padding: 2px 8px; font-size: 11px; }
.tag.green { background: #dcfce7; color: #166534; }
.tag.gray { background: #e5e7eb; color: #4b5563; }
.tag.orange { background: #ffedd5; color: var(--orange-dark); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.partner-card {
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  gap: 16px;
  border-left: 4px solid var(--orange);
}
.partner-info { flex: 1; min-width: 0; }
.partner-info h3 { margin: 0 0 4px; font-size: 17px; color: var(--blue-800); }
.partner-info p { margin: 6px 0; font-size: 14px; word-break: break-all; }
.link-line a { font-size: 13px; }
.partner-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.partner-qr {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  background: white;
}
.partner-qr img { width: 100%; height: 100%; display: block; }
@media (max-width: 500px) {
  .partner-card { flex-direction: column; }
  .partner-qr { width: 160px; height: 160px; align-self: center; }
}

.wa-link {
  text-decoration: none;
  color: var(--success);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}
.wa-link:hover { text-decoration: underline; }

.inline { display: inline; }

/* admin login - tela centralizada azul */
body.admin-login {
  background:
    radial-gradient(ellipse at top right, #2c74e8 0%, transparent 60%),
    linear-gradient(160deg, #051845 0%, #0a2670 60%, #103da8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
body.admin-login .card {
  background: white;
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
body.admin-login form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--blue-800); }
body.admin-login form input { margin-top: 6px; }

.form-header { text-align: center; margin-bottom: 20px; }
.form-header h1 { color: var(--blue-800); margin: 0 8px 6px; font-size: 22px; }

/* Caixa azul para logo branca em telas com card branco */
.logo-holder-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 auto 16px;
  min-height: 90px;
  box-shadow: 0 8px 20px rgba(10, 38, 112, 0.2);
}
.logo-holder-dark img {
  display: block;
  max-height: 56px;
  max-width: 220px;
  height: auto;
  width: auto;
}
.logo-holder-dark .up-logo {
  font-size: 28px;
}

/* Mobile-first ajustes finos */
@media (max-width: 480px) {
  body.public { padding: 12px 10px 24px; }
  .hero .up-logo { font-size: 28px; }
  .step-title { font-size: 19px; }
  body.public .card { padding: 18px 16px; border-radius: 16px; }
  .container { padding: 16px 12px 40px; }
  .container h1 { font-size: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 14px; }
  .stat-num { font-size: 24px; }
}
