/* O Deus do Atendimento — página de links
   Paleta: fundo #0C0C0E · superfície #141418 · borda #26262C · verde #22C55E */

:root {
  --bg: #0C0C0E;
  --surface: #141418;
  --surface-hover: #1B1B20;
  --border: #26262C;
  --text: #EDEDEA;
  --text-muted: #A3A39B;
  --text-dim: #6E6E68;
  --green: #22C55E;
  --amber: #F59E0B;
  --red: #EF4444;
  --sans: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--green); }
a:hover { color: var(--text); }
::selection { background: var(--green); color: var(--bg); }

@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); }
  55% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* ---- barra de status ---- */

.statusbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: rgba(12, 12, 14, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
}

.statusbar .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  animation: dotpulse 2.4s ease-in-out infinite;
}

.statusbar b { color: var(--green); font-weight: 500; }
.statusbar .sep { color: var(--text-dim); }
.statusbar .clock { color: var(--text); }

.statusbar .back-link {
  text-decoration: none;
  color: var(--text-muted);
}
.statusbar .back-link:hover { color: var(--green); }

/* ---- container ---- */

.page {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 24px 0;
  flex: 1;
}

.page--wide {
  max-width: 720px;
  padding-top: 52px;
}

/* ---- cabeçalho / perfil ---- */

.profile {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.avatar .logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -.02em;
}

.avatar--bottom { margin-top: 56px; }

.avatar .tagline {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .18em;
  color: var(--text-dim);
  margin-top: 4px;
}

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

/* cursor de digitação piscando (no lugar do ponto do título) */
.caret {
  display: inline-block;
  width: .42em;
  height: .78em;
  margin-left: .1em;
  background: var(--green);
  animation: caretblink 1.1s steps(2, start) infinite;
}

@keyframes caretblink {
  0%, 54% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  font-size: clamp(36px, 8.5vw, 50px);
}

.profile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 44ch;
}

.profile p strong { color: var(--text); font-weight: 600; }

.handle {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- bloco de prova ---- */

.proof {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--text-muted);
}

.proof em { font-style: normal; color: var(--text); }

.proof .footnote {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
}

/* ---- cards de link ---- */

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 22px;
  text-decoration: none;
}

.card:hover {
  border-color: var(--green);
  background: var(--surface-hover);
}

.card .body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.card .kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.card .title {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -.01em;
}

.card .note {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
}

/* prova integrada no card de uptime */
.card .proof-lines {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--text-muted);
}

.card .proof-lines em { font-style: normal; color: var(--text); }

.card .arrow {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--green);
}

/* card destacado (WhatsApp) */
.card--primary { border-color: var(--green); }
.card--primary:hover { background: var(--surface-hover); }
.card--primary .kicker,
.card--primary .title { color: var(--green); }

/* mini-gráfico de uptime */
.uptime-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  margin-top: 2px;
}

.uptime-bars span {
  width: 5px;
  height: 16px;
  background: var(--green);
}

.uptime-bars .warn { background: var(--amber); }
.uptime-bars .down { background: var(--red); }

/* ---- página do vídeo ---- */

.video-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page--wide h1 {
  letter-spacing: -.025em;
  line-height: 1.05;
  font-size: clamp(32px, 7vw, 52px);
}

.video-lead {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}

.video-frame {
  margin-top: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 16 / 9;
  position: relative;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: repeating-linear-gradient(135deg, #141418, #141418 14px, #17171C 14px, #17171C 28px);
}

.video-placeholder .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  border: 1px solid var(--border);
  padding: 8px 14px;
  color: var(--text);
  background: var(--bg);
}

.video-placeholder .hint {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.8;
  padding: 0 20px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* prints do painel */

.prints { margin-top: 44px; }

.prints .section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.prints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.print-slot {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.print-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.print-slot .empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  color: var(--text-dim);
  background: repeating-linear-gradient(135deg, #141418, #141418 14px, #17171C 14px, #17171C 28px);
}

.prints .caption {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
}

.proof--video { margin-top: 44px; }

/* CTA do vídeo */

.video-cta {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.video-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 16px 26px;
  text-decoration: none;
}

.video-cta .btn:hover {
  background: var(--green);
  color: var(--bg);
}

.video-cta .under {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ---- rodapé ---- */

.footer { margin: 56px 0 0; }

.footer .rule {
  height: 1px;
  background: var(--border);
  position: relative;
}

.footer .rule span {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 72px;
  background: var(--green);
}

.footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0 48px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}

.footer .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 6px 12px;
  color: var(--text);
}
