/* ARTEK | Estilo compartilhado das tabelas técnicas */
:root{
  --artek-blue:#07558a;
  --artek-blue-dark:#073b62;
  --artek-blue-soft:#dceaf5;
  --artek-yellow:#ffe500;
  --artek-orange:#f5a900;
  --ink:#17212b;
  --line:#263746;
  --paper:#fff;
  --muted:#637381;
  --card-radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding:24px 0;
  background:#eef2f5;
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
  line-height:1.4;
}
.tabela-page{
  width:min(1500px,calc(100% - 40px));
  margin:12px auto;
  background:var(--paper);
  border:1px solid #d5dee6;
  border-radius:var(--card-radius);
  overflow:hidden;
  box-shadow:0 10px 32px rgba(18,42,61,.12);
}
.tabela-topo{
  display:grid;
  grid-template-columns:minmax(190px,1fr) minmax(280px,1.35fr) minmax(220px,1fr);
  align-items:center; min-height:132px; padding:20px 28px; gap:24px;
  background:#fff; border-bottom:3px solid #111;
}
.tabela-topo__marca{display:flex;align-items:center;justify-content:flex-start;min-width:0}
.tabela-logo{display:block;width:205px;max-width:100%;height:auto;object-fit:contain}
.tabela-topo__titulo{min-width:0;text-align:center}
.tabela-sobretitulo{display:block;margin-bottom:5px;color:var(--artek-blue);font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.tabela-titulo{margin:0;color:#111;font-size:clamp(22px,2.35vw,32px);line-height:1.12;font-weight:800;text-transform:uppercase;letter-spacing:.015em}
.tabela-topo__institucional{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0;padding-left:18px;border-left:1px solid #dce3e9;text-align:right;color:#344553;font-size:11px;line-height:1.35}
.tabela-desde{color:var(--artek-blue);font-size:15px;line-height:1.1;font-weight:800}
.tabela-institucional-frase{max-width:245px;color:#526575}
.tabela-contato{margin-top:3px;color:#263746;font-weight:800;white-space:nowrap}
.tabela-topo__institucional a{color:var(--artek-blue);font-weight:700;text-decoration:none}
.tabela-topo__institucional a:hover{text-decoration:underline}
.tabela-instrucao{
  display:none;
  margin:0;
  padding:9px 14px;
  color:#526575;
  background:#f5f8fa;
  border-bottom:1px solid #e1e8ee;
  font-size:12px;
  text-align:center;
}
.tabela-scroll{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:#8daabd #edf2f6;
}
.tabela-scroll::-webkit-scrollbar{height:9px}
.tabela-scroll::-webkit-scrollbar-track{background:#edf2f6}
.tabela-scroll::-webkit-scrollbar-thumb{background:#8daabd;border:2px solid #edf2f6;border-radius:20px}
.tabela-dados{
  width:100%;
  min-width:1000px;
  border-collapse:collapse;
  table-layout:auto;
  font-size:13px;
  font-weight:600;
}
.tabela-dados th,.tabela-dados td{
  border:1px solid var(--line);
  padding:7px 8px;
  text-align:center;
  white-space:nowrap;
}
.tabela-dados thead th{
  background:var(--artek-blue);
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
  line-height:1.15;
  vertical-align:middle;
}
.tabela-dados tbody tr:nth-child(even){background:var(--artek-blue-soft)}
.tabela-dados tbody tr.destaque-amarelo{background:var(--artek-yellow)!important}
.tabela-dados tbody tr.destaque-laranja{background:var(--artek-orange)!important}
.tabela-dados tbody tr.destaque-azul{background:#9dbbd4!important}
.tabela-dados tbody tr:hover{filter:brightness(.97)}
.tabela-rodape{background:var(--artek-blue-dark);color:#fff;border-top:2px solid #111}
.tabela-rodape p{
  margin:0;
  padding:7px 14px;
  border-bottom:1px solid rgba(255,255,255,.35);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.tabela-rodape p:last-child{border-bottom:0}
.tabela-nota{margin:12px 0 0;color:var(--muted);font-size:11px;text-align:right}
.tabela-acoes{display:flex;justify-content:flex-end;gap:8px;padding:14px 18px;background:#fff}
.tabela-acoes button{
  border:0;
  border-radius:999px;
  background:var(--artek-blue);
  color:#fff;
  padding:10px 18px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}
.tabela-acoes button:hover{background:var(--artek-blue-dark);transform:translateY(-1px)}

/* Tablet */
@media(max-width:900px){
  body{padding:14px 0}
  .tabela-page{width:calc(100% - 28px);margin:8px auto}
  .tabela-topo{grid-template-columns:170px minmax(220px,1fr) 190px;gap:14px;padding:16px 18px;min-height:116px}
  .tabela-logo{width:160px}
  .tabela-topo__institucional{padding-left:12px;font-size:10px}
  .tabela-desde{font-size:14px}
  .tabela-titulo{font-size:clamp(19px,2.4vw,25px)}
  .tabela-dados{min-width:1000px}
}

/* Celular: mantém a tabela legível e permite deslizar na horizontal */
@media(max-width:600px){
  body{padding:8px 0;background:#f3f6f8}
  .tabela-page{width:calc(100% - 16px);margin:4px auto;border-radius:14px}
  .tabela-topo{grid-template-columns:1fr;justify-items:center;gap:10px;min-height:0;padding:16px 14px 13px}
  .tabela-topo__marca{justify-content:center}
  .tabela-logo{width:142px}
  .tabela-topo__titulo{order:2}
  .tabela-sobretitulo{font-size:9px;margin-bottom:4px}
  .tabela-titulo{font-size:19px;line-height:1.2}
  .tabela-topo__institucional{order:3;align-items:center;gap:3px;width:100%;padding:9px 4px 0;border-left:0;border-top:1px solid #e2e8ed;text-align:center;font-size:10px}
  .tabela-desde{font-size:13px}
  .tabela-institucional-frase{max-width:290px}
  .tabela-contato{margin-top:2px}
  .tabela-instrucao{display:block}
  .tabela-dados{min-width:980px;font-size:12px}
  .tabela-dados th,.tabela-dados td{padding:7px 8px}
  .tabela-rodape p{padding:8px 11px;font-size:10px;line-height:1.35}
  .tabela-acoes{justify-content:center;padding:13px 10px}
  .tabela-acoes button{width:100%;max-width:320px;padding:12px 16px}
}

@media print{
  body{padding:0;background:#fff}
  .tabela-page{width:100%;margin:0;border:0;border-radius:0;box-shadow:none;overflow:visible}
  .tabela-scroll{overflow:visible}
  .tabela-dados{min-width:0;font-size:8px}
  .tabela-dados th,.tabela-dados td{padding:3px 2px}
  .tabela-acoes,.tabela-instrucao{display:none}
  .tabela-topo{min-height:75px;padding:10px 16px;grid-template-columns:1fr 1.2fr 1fr;gap:12px}
  .tabela-logo{width:145px}
  .tabela-topo__institucional{font-size:8px}
  .tabela-desde{font-size:11px}
  .tabela-titulo{font-size:20px}
  .tabela-sobretitulo{font-size:8px}
  @page{size:landscape;margin:8mm}
}

/* Ícones sociais compactos no cabeçalho */
.tabela-topo__social{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
.tabela-social-icone{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#f0f4f7;
  color:#245b82;
  border:1px solid #d9e2e9;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.tabela-social-icone:hover{
  background:#0a66c2;
  color:#fff;
  transform:translateY(-1px);
}
.tabela-social-icone svg{display:block;width:15px;height:15px;fill:currentColor}
@media(max-width:600px){
  .tabela-topo__social{justify-content:center;order:3;padding-top:8px}
  .tabela-social-icone{width:28px;height:28px}
}
@media print{
  .tabela-topo__social{gap:5px}
  .tabela-social-icone{width:23px;height:23px}
}

/* Cores oficiais dos ícones sociais */
.tabela-social-icone{width:27px;height:27px;border:0;color:#fff;background:#667784}
.tabela-social-icone--facebook{background:#1877f2}
.tabela-social-icone--instagram{background:#c13584}
.tabela-social-icone--linkedin{background:#0a66c2}
.tabela-social-icone:hover{filter:brightness(.9);color:#fff;transform:translateY(-1px)}
.tabela-social-icone svg{width:14px;height:14px;fill:currentColor}
@media(max-width:600px){.tabela-social-icone{width:26px;height:26px}}


/* Rodapé técnico refinado — padrão compartilhado das tabelas Artek */
.tabela-rodape{
  margin:0;
  padding:0;
  overflow:hidden;
  background:#f3f7fa;
  border-top:1px solid #d8e3eb;
  color:#203746;
}
.tabela-rodape__cabecalho{
  display:flex;
  align-items:center;
  gap:9px;
  padding:13px 20px 10px;
  color:#0b4268;
  font-size:12px;
  font-weight:800;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.tabela-rodape__marcador{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  flex:0 0 19px;
  border-radius:50%;
  background:#0b4268;
  color:#fff;
  font-family:Georgia,serif;
  font-size:13px;
  font-weight:700;
  text-transform:none;
}
.tabela-rodape__itens{
  display:grid;
  grid-template-columns:1.15fr .9fr 1.15fr;
  gap:0;
  padding:0 10px 13px;
}
.tabela-rodape__itens p{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  margin:0;
  padding:9px 12px;
  border-left:2px solid #c5d7e4;
  color:#526574;
  font-size:10px;
  line-height:1.45;
}
.tabela-rodape__itens p strong{
  margin-bottom:3px;
  color:#173f5d;
  font-size:10px;
  font-weight:800;
}
.tabela-acoes{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 20px 16px;
  background:#fff;
  border-top:1px solid #e5ebef;
}
.tabela-acoes__texto{
  color:#788894;
  font-size:10px;
  line-height:1.4;
}
.tabela-acoes button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:40px;
  padding:10px 17px;
  border-radius:999px;
  background:#075b91;
  box-shadow:0 3px 8px rgba(7,91,145,.16);
  color:#fff;
  font-size:11px;
  font-weight:800;
}
.tabela-acoes button span{
  font-size:14px;
  line-height:1;
}
.tabela-acoes button:hover{
  background:#06466f;
  box-shadow:0 5px 12px rgba(7,91,145,.22);
}
@media(max-width:900px){
  .tabela-rodape__itens{grid-template-columns:1fr 1fr}
  .tabela-rodape__itens p:last-child{grid-column:1/-1}
}
@media(max-width:600px){
  .tabela-rodape__cabecalho{padding:12px 13px 8px;font-size:11px}
  .tabela-rodape__itens{grid-template-columns:1fr;padding:0 10px 10px}
  .tabela-rodape__itens p,
  .tabela-rodape__itens p:last-child{
    grid-column:auto;
    padding:8px 10px;
    border-left:2px solid #c5d7e4;
    border-bottom:1px solid #e0e8ee;
    font-size:10px;
  }
  .tabela-rodape__itens p:last-child{border-bottom:0}
  .tabela-acoes{
    flex-direction:column;
    align-items:stretch;
    gap:9px;
    padding:12px 13px 14px;
  }
  .tabela-acoes__texto{text-align:center}
  .tabela-acoes button{width:100%;max-width:none}
}
@media print{
  .tabela-rodape{background:#f3f7fa!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .tabela-rodape__itens{grid-template-columns:1.15fr .9fr 1.15fr;padding-bottom:8px}
  .tabela-rodape__itens p,.tabela-rodape__itens p:last-child{grid-column:auto;font-size:8px;padding:6px}
  .tabela-acoes{display:none}
}
