/* Página do teste de conexão -- usa a paleta/fontes do landing.css (linkado antes
   deste arquivo), só o que é específico dessa tela fica aqui. */

.tc-nav-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #7fa6c4;
  letter-spacing: .04em; text-transform: uppercase; margin-left: 10px;
  padding: 4px 10px; border: 1px solid rgba(127,212,255,.25); border-radius: 20px; }

.tc-wrap { max-width: 720px; margin: 0 auto; padding: 32px 24px 80px; }

.tc-escolha { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.tc-escolha-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  text-align: left; padding: 22px 20px; border-radius: 14px; background: rgba(127,212,255,.05);
  border: 1px solid rgba(127,212,255,.16); cursor: pointer; font-family: inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.tc-escolha-card:hover { border-color: rgba(127,212,255,.4); background: rgba(127,212,255,.09);
  transform: translateY(-2px); }
.tc-escolha-icone { display: flex; align-items: center; justify-content: center; width: 44px;
  height: 44px; border-radius: 12px; background: rgba(127,212,255,.12); color: #7fd4ff; }
.tc-escolha-titulo { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; color: #eaf7ff; }
.tc-escolha-desc { font-size: 13px; color: #9fbdd6; line-height: 1.4; }
@media (max-width: 560px) {
  .tc-escolha { grid-template-columns: 1fr; }
}

.tc-busca { margin-bottom: 22px; }
.tc-busca-voltar { background: none; border: none; color: #7fa6c4; font-size: 12.5px;
  cursor: pointer; font-family: inherit; padding: 0 0 10px; text-decoration: underline;
  text-underline-offset: 2px; }
.tc-busca label { display: block; font-size: 13px; color: #7fa6c4; margin-bottom: 8px; }
.tc-busca-row { display: flex; gap: 10px; }
.tc-busca-row input { flex: 1; padding: 12px 14px; border-radius: 10px; font-size: 15px;
  font-family: 'IBM Plex Mono', monospace; background: rgba(127,212,255,.06);
  border: 1px solid rgba(127,212,255,.25); color: #eaf7ff; }
.tc-busca-row input:focus { outline: none; border-color: #7fd4ff; }
.tc-erro { color: #ff9b9b; font-size: 13px; margin: 8px 0 0; }

.tc-aviso { font-size: 13px; color: #9fbdd6; background: rgba(255,184,100,.08);
  border: 1px solid rgba(255,184,100,.25); border-radius: 10px; padding: 10px 14px;
  margin-bottom: 28px; }

.tc-progresso { margin-bottom: 28px; }
.tc-barra-linha { display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 8px; }
.tc-barra-texto { font-size: 13px; color: #cfe8ff; font-family: 'IBM Plex Mono', monospace; }
.tc-barra-pct { font-size: 13px; color: #7fd4ff; font-family: 'IBM Plex Mono', monospace;
  font-weight: 600; flex: none; font-variant-numeric: tabular-nums; }
.tc-barra-track { height: 10px; border-radius: 999px; background: rgba(127,212,255,.1);
  border: 1px solid rgba(127,212,255,.2); overflow: hidden; }
.tc-barra-fill { height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, #7fd4ff, #6be08a); box-shadow: 0 0 10px rgba(127,212,255,.5);
  transition: width .3s ease; }
@media (prefers-reduced-motion: reduce) { .tc-barra-fill { transition: none; } }

.tc-card { background: rgba(127,212,255,.04); border: 1px solid rgba(127,212,255,.14);
  border-radius: 16px; padding: 26px 28px; margin-bottom: 20px; }
.tc-card h2 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 18px;
  color: #eaf7ff; margin: 0 0 16px; }

.tc-resumo { text-align: center; padding: 32px 28px; }
.tc-veredito { display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 22px; }
.tc-veredito-dot { width: 14px; height: 14px; border-radius: 50%; background: #7fa6c4; flex: none; }
.tc-veredito.bom .tc-veredito-dot { background: #6be08a; box-shadow: 0 0 14px rgba(107,224,138,.5); }
.tc-veredito.atencao .tc-veredito-dot { background: #ffb864; box-shadow: 0 0 14px rgba(255,184,100,.5); }
.tc-veredito.problema .tc-veredito-dot { background: #ff5c5c; box-shadow: 0 0 14px rgba(255,92,92,.5); }
.tc-veredito-texto { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 26px; color: #eaf7ff; }

.tc-local { font-size: 13px; color: #7fa6c4; margin: -10px 0 10px; }

.tc-mapa { height: 180px; border-radius: 12px; margin: 0 0 22px; overflow: hidden;
  border: 1px solid rgba(127,166,196,.25); }
.tc-mapa .leaflet-control-attribution { font-size: 9px; }

.tc-codigo-box { display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 10px; }
.tc-codigo-label { font-size: 12px; color: #7fa6c4; text-transform: uppercase; letter-spacing: .06em; }
.tc-codigo-grande { font-family: 'IBM Plex Mono', monospace; font-size: 32px; font-weight: 600;
  color: #7fd4ff; letter-spacing: .02em; display: inline-block;
  animation: tc-pulsar-codigo 2.2s ease-in-out infinite; }
@keyframes tc-pulsar-codigo {
  0%, 100% { text-shadow: 0 0 0 rgba(127,212,255,0); transform: scale(1); }
  50% { text-shadow: 0 0 20px rgba(127,212,255,.7); transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .tc-codigo-grande { animation: none; }
}
.tc-copiar { background: rgba(127,212,255,.1); border: 1px solid rgba(127,212,255,.3);
  color: #cfe8ff; font-size: 12px; padding: 6px 12px; border-radius: 8px; cursor: pointer;
  font-family: inherit; }
.tc-copiar:hover { background: rgba(127,212,255,.2); }
.tc-copiar.copiado { background: rgba(107,224,138,.15); border-color: rgba(107,224,138,.4); color: #6be08a; }
.tc-codigo-hint { font-size: 13px; color: #7fa6c4; margin: 0 0 6px; }
.tc-quando { font-size: 12px; color: #5a7d99; margin: 0 0 18px; font-family: 'IBM Plex Mono', monospace; }
.tc-refazer { font-size: 13px; }

.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tc-item { padding: 12px 14px; border-radius: 10px; background: rgba(127,212,255,.05);
  border: 1px solid rgba(127,212,255,.12); min-width: 0; }
.tc-item-label { display: block; font-size: 11.5px; color: #7fa6c4; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 4px; }

.tc-info { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 13px; height: 13px; margin-left: 5px; border-radius: 50%; vertical-align: middle;
  background: rgba(127,212,255,.15); color: #7fd4ff; font-size: 9px; font-style: italic;
  font-family: Georgia, 'Times New Roman', serif; text-transform: none; letter-spacing: normal;
  cursor: help; }
.tc-tooltip { display: none; position: absolute; z-index: 20; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); width: max-content; max-width: 240px; padding: 9px 11px;
  border-radius: 8px; background: #0a1826; border: 1px solid rgba(127,212,255,.3);
  color: #cfe8ff; font-size: 12px; font-style: normal; font-weight: 400; text-transform: none;
  letter-spacing: normal; line-height: 1.45; box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.tc-info:hover .tc-tooltip, .tc-info:focus .tc-tooltip { display: block; }
@media (max-width: 480px) {
  .tc-tooltip { left: 0; transform: none; }
}
.tc-item-valor { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 14px;
  color: #eaf7ff; overflow-wrap: anywhere; }
.tc-item.tc-ok .tc-item-valor { color: #6be08a; }
.tc-item.tc-atencao .tc-item-valor { color: #ffb864; }
.tc-item.tc-problema .tc-item-valor { color: #ff9b9b; }

.tc-em-breve { color: #7fa6c4; font-size: 13.5px; margin: 0; }

.tc-dualstack { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tc-dualstack-col { background: rgba(127,212,255,.05); border: 1px solid rgba(127,212,255,.12);
  border-radius: 12px; padding: 16px; }
.tc-dualstack-col h3 { font-family: 'IBM Plex Mono', monospace; font-size: 13px;
  text-transform: uppercase; letter-spacing: .05em; color: #7fd4ff; margin: 0 0 12px; }
.tc-dualstack-col .tc-item { background: rgba(127,212,255,.04); margin-bottom: 8px; }
.tc-dualstack-col .tc-item:last-child { margin-bottom: 0; }
.tc-dualstack-col.tc-indisponivel h3 { color: #7fa6c4; }

.tc-sublabel { display: block; font-size: 12px; color: #7fa6c4; text-transform: uppercase;
  letter-spacing: .04em; margin: 22px 0 10px; }

.tc-destinos-grade { display: flex; flex-direction: column; }
.tc-destinos-cat { margin-bottom: 22px; }
.tc-destinos-cat:last-child { margin-bottom: 0; }
.tc-destinos-cat-titulo { display: flex; align-items: baseline; gap: 8px; font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; color: #7fa6c4; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.tc-destinos-cat-titulo .tc-destinos-cat-contagem { color: #5a7d99; font-weight: 400; text-transform: none;
  letter-spacing: 0; }
.tc-destinos-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tc-destino-tile { background: rgba(127,212,255,.05); border: 1px solid rgba(127,212,255,.12);
  border-radius: 14px; padding: 14px 8px; text-align: center; display: flex;
  flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
@media (max-width: 680px) {
  .tc-destinos-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  .tc-destinos-tiles { grid-template-columns: repeat(2, 1fr); }
}
.tc-destino-logo-ring { padding: 3px; border-radius: 15px; border: 2px solid transparent; line-height: 0; }
.tc-destino-logo-ring.tc-ok { border-color: rgba(107,224,138,.5); }
.tc-destino-logo-ring.tc-atencao { border-color: rgba(255,184,100,.55); }
.tc-destino-logo-ring.tc-problema { border-color: rgba(255,107,107,.55); }
.tc-destino-logo { width: 40px; height: 40px; border-radius: 12px; background: rgba(127,212,255,.08);
  object-fit: cover; display: block; }
.tc-destino-nome { font-size: 11px; color: #cfe8ff; font-weight: 500; line-height: 1.25; }
.tc-destino-tempo { font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-variant-numeric: tabular-nums;
  font-weight: 500; }
.tc-destino-tempo.tc-ok { color: #6be08a; }
.tc-destino-tempo.tc-atencao { color: #ffb864; }
.tc-destino-tempo.tc-problema { color: #ff9b9b; }
.tc-destino-rotulo { font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; }
.tc-destino-rotulo.tc-ok { color: #6be08a; }
.tc-destino-rotulo.tc-atencao { color: #ffb864; }
.tc-destino-rotulo.tc-problema { color: #ff9b9b; }

.tc-footer { text-align: center; font-size: 12px; color: #7fa6c4; padding: 20px 24px 40px; }
.tc-footer a { color: #7fd4ff; }

.tc-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(135deg, rgba(107,224,138,.08), rgba(43,217,168,.04));
  border: 1px solid rgba(107,224,138,.25); border-radius: 16px; padding: 26px 28px;
  margin-bottom: 20px; }
.tc-promo-eyebrow { display: block; font-size: 12px; font-weight: 600; color: #6be08a;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.tc-promo h2 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 20px;
  color: #eaf7ff; margin: 0 0 10px; }
.tc-promo p { font-size: 14px; color: #9fbdd6; line-height: 1.55; margin: 0; max-width: 480px; }
.tc-promo-btn { display: flex; align-items: center; gap: 8px; flex: none; font-size: 14px;
  font-weight: 600; color: #04231c; padding: 12px 22px; border-radius: 10px;
  background: linear-gradient(180deg, #6be08a, #2bd9a8); box-shadow: 0 8px 24px rgba(43,217,168,.3);
  white-space: nowrap; }
.tc-promo-btn:hover { filter: brightness(1.06); }

@media (max-width: 560px) {
  .tc-wrap { padding: 24px 18px 64px; }
  .tc-busca-row { flex-direction: column; }
  .tc-codigo-grande { font-size: 26px; }
  .tc-promo { flex-direction: column; align-items: stretch; text-align: left; }
  .tc-promo p { max-width: none; }
  .tc-promo-btn { justify-content: center; }
}
