/* ==========================================================================
   Testar Periférico — folha de estilo única (site + ferramentas)
   Sem webfonts, sem bibliotecas. Mobile-first.
   ========================================================================== */

:root {
  --azul: #1b6ef3;
  --azul-escuro: #0f4fb8;
  --verde: #00c073;
  --vermelho: #e5484d;
  --amarelo: #f5a524;
  --texto: #11181c;
  --suave: #5b6772;
  --linha: #e3e8ee;
  --fundo: #ffffff;
  --cinza: #f5f7fa;
  --cinza2: #eaeef3;
  --escuro: #10151b;
  /* variantes escurecidas, usadas quando a cor vira TEXTO (WCAG AA) */
  --verde-texto: #0a7d4c;
  --vermelho-texto: #c8262b;
  --amarelo-texto: #8a6100;
  --raio: 12px;
  --largura: 860px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 18px; }
.container-largo { max-width: 1120px; }

a { color: var(--azul); }

/* ---------- Cabeçalho ---------- */

.cabecalho { background: var(--escuro); color: #fff; padding: 12px 0; }
.cab-interno { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

.logo {
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.12rem;
  display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em;
}
.logo-ponto { color: var(--verde); }

.menu { display: none; list-style: none; margin: 0; padding: 0; gap: 20px; }
.menu a { color: #cdd6df; text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.menu a:hover { color: #fff; }

.menu-botao {
  background: transparent; border: 1px solid #39434e; color: #fff;
  border-radius: 8px; padding: 7px 11px; font-size: 0.95rem; cursor: pointer; line-height: 1;
}
.menu-mobile { display: none; list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid #262e37; }
.menu-mobile.aberto { display: block; }
.menu-mobile a { color: #cdd6df; text-decoration: none; display: block; padding: 10px 0; }

@media (min-width: 820px) {
  .menu { display: flex; }
  .menu-botao { display: none; }
  .menu-mobile { display: none !important; }
}

/* ---------- Conteúdo ---------- */

main { padding: 26px 0 50px; }

h1 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -0.025em; margin: 0 0 8px; }
h2 { font-size: 1.28rem; margin: 36px 0 12px; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; margin: 22px 0 8px; }

@media (min-width: 700px) { h1 { font-size: 2.05rem; } h2 { font-size: 1.45rem; } }

.sub { color: var(--suave); font-size: 1.03rem; margin: 0 0 22px; }

.texto p { margin: 0 0 16px; }
.texto ul, .texto ol { margin: 0 0 16px; padding-left: 22px; }
.texto li { margin-bottom: 7px; }
.texto table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.93rem; }
.texto th, .texto td { border: 1px solid var(--linha); padding: 9px 11px; text-align: left; }
.texto th { background: var(--cinza); font-weight: 600; }
.texto code { background: var(--cinza); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; }

.migalhas { font-size: 0.85rem; color: var(--suave); margin: 0 0 14px; }
.migalhas a { color: var(--suave); text-decoration: none; }
.migalhas a:hover { text-decoration: underline; }

/* ---------- Caixa da ferramenta ---------- */

.ferramenta {
  border: 1px solid var(--linha);
  border-radius: 16px;
  background: var(--cinza);
  padding: 22px 18px;
  margin: 0 0 12px;
}

.ferramenta-nota {
  font-size: 0.85rem; color: var(--suave); text-align: center; margin: 0 0 26px;
}

.botao {
  background: var(--azul); color: #fff; border: none; border-radius: 9px;
  padding: 12px 22px; font-size: 0.98rem; font-weight: 600; font-family: inherit;
  cursor: pointer; line-height: 1.2;
}
.botao:hover { background: var(--azul-escuro); }
.botao:disabled { opacity: 0.5; cursor: default; }
.botao-2 { background: var(--cinza2); color: var(--texto); }
.botao-2:hover { background: #dde3ea; }
.botao-verde { background: #00874f; }
.botao-verde:hover { background: #006f41; }

.linha-botoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* Painel de resultados */
.painel {
  display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}
@media (min-width: 600px) { .painel { grid-template-columns: repeat(4, 1fr); } }

.metrica {
  background: #fff; border: 1px solid var(--linha); border-radius: 10px;
  padding: 12px 10px; text-align: center;
}
.metrica-valor { font-size: 1.5rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metrica-rotulo { font-size: 0.76rem; color: var(--suave); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; }

.estado { text-align: center; font-weight: 600; margin: 14px 0 0; min-height: 1.5em; }
.estado.ok { color: var(--verde-texto); }
.estado.erro { color: var(--vermelho-texto); }
.estado.aviso { color: var(--amarelo-texto); }

/* ---------- Teste de mouse ---------- */

.mouse-area { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mouse-svg { width: 150px; height: auto; touch-action: none; user-select: none; }
.mouse-svg .parte { fill: #fff; stroke: #9aa6b2; stroke-width: 3; transition: fill 0.08s; }
.mouse-svg .parte.ativo { fill: var(--verde); stroke: var(--verde); }
.mouse-svg .parte.lateral { fill: #e8edf2; }
.mouse-svg .parte.lateral.ativo { fill: var(--verde); }

.zona-clique {
  width: 100%; min-height: 130px; background: #fff; border: 2px dashed var(--linha);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--suave); font-size: 0.95rem; text-align: center; padding: 14px;
  user-select: none; cursor: crosshair;
}
.zona-clique.ativa { border-color: var(--verde); border-style: solid; }
.zona-clique > span { display: block; }

/* Aviso mostrado só em aparelhos sem mouse (celular, tablet) */
.aviso-toque { display: none; }
@media (pointer: coarse) {
  .aviso-toque {
    display: block;
    border: 1px solid var(--linha);
    border-left: 4px solid var(--amarelo);
    background: #fffaf0;
    border-radius: 0 var(--raio) var(--raio) 0;
    padding: 13px 15px;
    margin: 0 0 16px;
    font-size: 0.92rem;
  }
}

.lista-eventos {
  margin-top: 14px; max-height: 150px; overflow-y: auto; background: #fff;
  border: 1px solid var(--linha); border-radius: 10px; padding: 10px 12px;
  font-size: 0.86rem; font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
.lista-eventos div { padding: 2px 0; border-bottom: 1px solid #f0f3f7; }
.lista-eventos div:last-child { border: none; }

/* ---------- Teclado ---------- */

.teclado { overflow-x: auto; padding-bottom: 8px; }
.teclado-interno { min-width: 700px; margin: 0 auto; display: inline-block; }

.tec-linha { display: flex; gap: 4px; margin-bottom: 4px; justify-content: flex-start; }

.tecla {
  background: #fff; border: 1px solid #c3ccd6; border-bottom-width: 2px;
  border-radius: 6px; min-width: 40px; height: 42px; display: flex;
  align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 600;
  color: #3d4854; padding: 0 5px; user-select: none; white-space: pre-line;
  text-align: center; line-height: 1.1; transition: background 0.06s;
}
.tecla.pressionada { background: var(--azul); border-color: var(--azul-escuro); color: #fff; }
.tecla.usada { background: #d8f5e6; border-color: #7ad6a8; }
.tecla.usada.pressionada { background: var(--azul); color: #fff; }
.tecla.vazio { background: transparent; border: none; }

.t-1-25 { min-width: 52px; } .t-1-5 { min-width: 64px; } .t-1-75 { min-width: 76px; }
.t-2 { min-width: 86px; } .t-2-25 { min-width: 98px; } .t-2-75 { min-width: 118px; }
.t-6-25 { min-width: 270px; } .t-alta { height: 88px; }

/* ---------- CPS ---------- */

.cps-alvo {
  width: 100%; height: 190px; background: linear-gradient(160deg, var(--azul), var(--azul-escuro));
  color: #fff; border: none; border-radius: 14px; cursor: pointer; user-select: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: inherit; font-size: 1.15rem; font-weight: 700; text-align: center; padding: 16px;
}
.cps-alvo:active { filter: brightness(1.12); }
.cps-alvo.rodando { background: linear-gradient(160deg, var(--verde), #009c5e); }
.cps-alvo small { font-weight: 500; font-size: 0.88rem; opacity: 0.9; margin-top: 6px; }

.opcoes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.opcao {
  background: #fff; border: 1px solid var(--linha); border-radius: 999px;
  padding: 7px 16px; font-size: 0.88rem; font-family: inherit; cursor: pointer; font-weight: 600;
  color: var(--suave);
}
.opcao.sel { background: var(--azul); border-color: var(--azul); color: #fff; }

/* ---------- Controle / gamepad ---------- */

.gp-vazio { text-align: center; padding: 26px 14px; color: var(--suave); }
.gp-botoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
@media (min-width: 620px) { .gp-botoes { grid-template-columns: repeat(6, 1fr); } }

.gp-bt {
  background: #fff; border: 1px solid var(--linha); border-radius: 8px;
  padding: 9px 4px; text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--suave);
}
.gp-bt.on { background: var(--verde); border-color: var(--verde); color: #fff; }

.gp-sticks { display: flex; gap: 22px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.gp-stick { text-align: center; }
.gp-pad {
  width: 120px; height: 120px; background: #fff; border: 1px solid var(--linha);
  border-radius: 50%; position: relative; margin: 0 auto 6px;
}
.gp-pad::before, .gp-pad::after {
  content: ""; position: absolute; background: var(--cinza2);
}
.gp-pad::before { left: 50%; top: 6px; bottom: 6px; width: 1px; }
.gp-pad::after { top: 50%; left: 6px; right: 6px; height: 1px; }
.gp-ponto {
  width: 16px; height: 16px; background: var(--azul); border-radius: 50%;
  position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -8px; transition: none;
}
.gp-legenda { font-size: 0.78rem; color: var(--suave); font-variant-numeric: tabular-nums; }

/* ---------- Tela cheia (pixel morto / tela colorida) ---------- */

.cores { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.cor-bt {
  width: 42px; height: 42px; border-radius: 9px; border: 2px solid var(--linha); cursor: pointer;
}
.cor-bt.sel { border-color: var(--texto); transform: scale(1.08); }

.tela-cheia {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; cursor: none;
}
.tela-cheia.on { display: flex; }
.tela-dica {
  font-size: 0.85rem; padding: 9px 16px; border-radius: 999px;
  background: rgba(0,0,0,0.55); color: #fff; pointer-events: none;
  transition: opacity 0.5s; font-family: -apple-system, sans-serif;
}
.tela-dica.some { opacity: 0; }

/* ---------- Cards de ferramentas ---------- */

.grade { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 620px) { .grade { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .grade { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px;
  display: flex; flex-direction: column; background: #fff;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover { box-shadow: 0 6px 22px rgba(27,110,243,0.12); transform: translateY(-2px); }
.card-icone { font-size: 1.6rem; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 1.03rem; }
.card h3 a { color: var(--texto); text-decoration: none; }
.card h3 a:hover { color: var(--azul); }
.card p { margin: 0; color: var(--suave); font-size: 0.9rem; line-height: 1.55; flex-grow: 1; }

/* ---------- FAQ ---------- */

.faq { margin-top: 12px; }
.faq details {
  border: 1px solid var(--linha); border-radius: 10px; margin-bottom: 9px; background: #fff;
}
.faq summary {
  cursor: pointer; padding: 13px 16px; font-weight: 600; font-size: 0.97rem;
  list-style: none; position: relative; padding-right: 42px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 11px; font-size: 1.3rem;
  color: var(--suave); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq-corpo { padding: 0 16px 14px; font-size: 0.95rem; color: #2c3540; }
.faq-corpo p { margin: 0 0 10px; }
.faq-corpo p:last-child { margin: 0; }

/* ---------- Relacionadas ---------- */

.relacionadas { background: var(--cinza); border-radius: var(--raio); padding: 18px; margin-top: 34px; }
.relacionadas h2 { margin: 0 0 12px; font-size: 1.08rem; }
.relacionadas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.relacionadas a {
  background: #fff; border: 1px solid var(--linha); border-radius: 999px;
  padding: 7px 15px; font-size: 0.88rem; text-decoration: none; color: var(--texto); display: block;
}
.relacionadas a:hover { border-color: var(--azul); color: var(--azul); }

/* ---------- Anúncios ---------- */

.anuncio { margin: 30px 0; text-align: center; overflow: hidden; }
.anuncio-rotulo {
  display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em;
  color: #666f78; margin-bottom: 5px;
}
.anuncio-reservado {
  border: 1px dashed var(--linha); border-radius: var(--raio); padding: 24px 12px;
  color: #666f78; font-size: 0.83rem; background: var(--cinza);
}

/* ---------- Caixas ---------- */

.caixa {
  border: 1px solid var(--linha); border-left: 4px solid var(--azul); background: var(--cinza);
  border-radius: 0 var(--raio) var(--raio) 0; padding: 14px 16px; margin: 20px 0; font-size: 0.95rem;
}
.caixa-titulo { font-weight: 700; display: block; margin-bottom: 5px; }
.caixa p:last-child { margin-bottom: 0; }
.caixa.aviso { border-left-color: var(--amarelo); }
.caixa.privacidade { border-left-color: var(--verde); }

/* ---------- Herói ---------- */

.heroi { background: var(--escuro); color: #fff; padding: 40px 0 44px; text-align: center; }
.heroi h1 { color: #fff; margin-bottom: 10px; }
.heroi p { color: #b3bec9; max-width: 620px; margin: 0 auto; font-size: 1.02rem; }

/* ---------- Rodapé ---------- */

.rodape { background: var(--escuro); color: #97a3ae; padding: 34px 0 26px; font-size: 0.9rem; margin-top: 44px; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape-cols { display: grid; gap: 22px; grid-template-columns: 1fr; margin-bottom: 22px; }
@media (min-width: 700px) { .rodape-cols { grid-template-columns: 2fr 1fr 1fr; } }
.rodape h4 { color: #fff; margin: 0 0 10px; font-size: 0.93rem; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li { margin-bottom: 7px; }
.rodape-base { border-top: 1px solid #232c35; padding-top: 18px; font-size: 0.83rem; color: #74808b; }

/* ---------- Cookies ---------- */

.cookies {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--escuro); color: #e2e8ee;
  padding: 15px 18px; z-index: 200; font-size: 0.88rem; display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.22);
}
.cookies.visivel { display: block; }
.cookies-in { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 760px) { .cookies-in { flex-direction: row; align-items: center; justify-content: space-between; } }
.cookies p { margin: 0; }
.cookies a { color: #7db4ff; }
.cookies-bts { display: flex; gap: 9px; flex-shrink: 0; }
.cookies .botao-2 { background: transparent; border: 1px solid #3d4854; color: #e2e8ee; }

.pular-link { position: absolute; left: -9999px; background: #fff; padding: 10px 16px; z-index: 300; }
.pular-link:focus { left: 12px; top: 12px; }
.centro { text-align: center; }

/* ==========================================================================
   Ferramentas de mídia, desempenho e sistema
   ========================================================================== */

/* Caixa de permissão (microfone, câmera) */
.permissao {
  text-align: center;
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
}
.permissao-icone { font-size: 2.4rem; margin: 0 0 8px; }
.permissao p { margin: 0 auto 14px; max-width: 460px; color: var(--suave); font-size: .95rem; }
.permissao strong { color: var(--texto); }

.selo-privacidade {
  display: inline-flex; align-items: center; gap: 7px;
  background: #e8f8f0; border: 1px solid #a8e5c8; color: #08573a;
  border-radius: 999px; padding: 7px 15px; font-size: .84rem; font-weight: 600;
  margin-bottom: 14px;
}

/* Medidor de volume */
.medidor {
  height: 26px; background: var(--cinza2); border-radius: 999px;
  overflow: hidden; margin: 14px 0 6px; position: relative;
}
.medidor-barra {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--verde) 0%, var(--verde) 55%,
    var(--amarelo) 78%, var(--vermelho) 100%);
  background-size: 400% 100%; background-position: left center;
  transition: width .05s linear;
}
.medidor-marcas {
  display: flex; justify-content: space-between; font-size: .72rem;
  color: var(--suave); font-variant-numeric: tabular-nums;
}

canvas.onda {
  width: 100%; height: 120px; background: #fff;
  border: 1px solid var(--linha); border-radius: var(--raio); display: block;
}

/* Vídeo da webcam */
.video-caixa {
  position: relative; background: #000; border-radius: var(--raio);
  overflow: hidden; aspect-ratio: 4 / 3; max-width: 560px; margin: 0 auto;
}
.video-caixa video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-caixa.espelhado video { transform: scaleX(-1); }

/* Seletor de dispositivo */
.campo-select {
  width: 100%; max-width: 460px; margin: 0 auto 14px; display: block;
  padding: 10px 12px; font-size: .95rem; font-family: inherit;
  border: 1px solid var(--linha); border-radius: 9px; background: #fff;
}

/* Fone de ouvido: lados */
.lados { display: flex; gap: 14px; justify-content: center; margin: 18px 0; }
.lado {
  flex: 1; max-width: 190px; background: #fff; border: 2px solid var(--linha);
  border-radius: var(--raio); padding: 22px 12px; text-align: center;
  transition: all .12s;
}
.lado.tocando { border-color: var(--verde); background: #e8f8f0; transform: scale(1.04); }
.lado-icone { font-size: 2rem; line-height: 1; }
.lado-nome { font-weight: 700; margin-top: 6px; }
.lado-dica { font-size: .8rem; color: var(--suave); }

input[type=range] { width: 100%; max-width: 420px; accent-color: var(--azul); }

/* Toque na tela */
.toque-area {
  width: 100%; height: 340px; background: #fff; border: 2px dashed var(--linha);
  border-radius: var(--raio); position: relative; overflow: hidden;
  touch-action: none; cursor: crosshair;
}
.toque-area canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.toque-texto {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; color: var(--suave); font-size: .95rem;
  text-align: center; padding: 20px; pointer-events: none;
}

/* Digitação */
.texto-alvo {
  background: #fff; border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 18px; font-size: 1.12rem; line-height: 1.9; letter-spacing: .01em;
  max-height: 190px; overflow-y: auto;
}
.texto-alvo span { border-radius: 3px; }
.dig-ok { color: var(--verde); }
.dig-erro { color: #fff; background: var(--vermelho); }
.dig-atual { background: var(--azul); color: #fff; animation: pisca 1s steps(2) infinite; }
@keyframes pisca { 50% { opacity: .55; } }
.dig-entrada {
  width: 100%; margin-top: 14px; padding: 13px; font-size: 1rem; font-family: inherit;
  border: 2px solid var(--linha); border-radius: 9px; resize: none;
}
.dig-entrada:focus { outline: none; border-color: var(--azul); }

/* Taxa de atualização: faixa animada */
.pista {
  height: 76px; background: #0d1218; border-radius: var(--raio);
  position: relative; overflow: hidden; margin: 16px 0;
}
.pista-obj {
  position: absolute; top: 50%; margin-top: -17px; width: 34px; height: 34px;
  background: var(--verde); border-radius: 9px; will-change: transform;
}
.pista-legenda {
  position: absolute; left: 12px; bottom: 6px; color: #55636f; font-size: .74rem;
}

/* Tabela de informações do sistema */
.tabela-info { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; }
.tabela-info tr { border-bottom: 1px solid var(--linha); }
.tabela-info tr:last-child { border-bottom: none; }
.tabela-info td { padding: 11px 13px; vertical-align: top; }
.tabela-info td:first-child { color: var(--suave); width: 45%; font-weight: 500; }
.tabela-info td:last-child { font-weight: 600; word-break: break-word; }
.tabela-envolve {
  border: 1px solid var(--linha); border-radius: var(--raio); overflow-x: auto;
}
.grupo-info { margin-bottom: 20px; }
.grupo-info h3 { margin: 0 0 9px; font-size: 1rem; }

/* ---------- Correções de responsividade (auditoria mobile) ---------- */

/* Tabela larga rola dentro do próprio quadro em vez de empurrar a página */
.tabela-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; }
.tabela-rolagem > table { margin: 0; }

/* Card inteiro clicável. Antes só o título (18px de altura) respondia ao clique.
   O link continua sendo um só, com o texto correto para leitor de tela. */
.card { position: relative; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  z-index: 1; }  /* o parágrafo vem depois no HTML e cobria a camada de clique */
.card:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }

/* Rótulo de publicidade acima do mínimo legível */
.anuncio-rotulo { font-size: 0.75rem; }

/* Campos de formulário com altura confortável em qualquer tela */
.campo input[type=number], .campo input[type=text], .campo select, .entrada,
input[type=email], textarea, .botao { min-height: 44px; }

/* Em tela estreita, tabela compacta cabe inteira e dispensa a rolagem */
@media (max-width: 480px) {
  .texto table, .tabela-rolagem table { font-size: 0.82rem; }
  .texto th, .texto td { padding: 7px 8px; }
}

/* ---------- Alvos de toque: SÓ onde se usa o dedo ----------
   pointer: coarse = tela sensível ao toque. No computador, com mouse, estas
   regras não valem — foi o que inchou o rodapé para quase 1.000px de altura. */
@media (pointer: coarse) {
  .logo { min-height: 44px; }
  .menu-botao { min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center; }
  .menu a, .menu-mobile a, .rodape a, .relacionadas a {
    display: inline-flex; align-items: center; min-height: 44px; }
  .aba { min-height: 44px; }
  input[type=range] { height: 44px; }
  input[type=color] { min-width: 44px; min-height: 44px; }
}

@media (pointer: coarse) {
  .opcao { min-height: 44px; }
  .cor-bt { min-width: 44px; min-height: 44px; }
}
