/* style.css — base visual de todas as telas do painel: cores (variáveis --azul, --tinta,
 * --linha...), botões, cartões, tabelas, formulários, modais, sino e avisos.
 * O shell (menu, barra de menu, janela e Dock) fica em layout.css. */
:root {
  --azul: #1E6FDE;
  --azul-h: #1559b0;
  --azul-d: #0C447C;
  --azul-l: #E6F1FB;
  --tinta: #1f2a37;
  --muted: #6b7280;
  --linha: #e6e8ee;
  --fundo: #f4f6fb;
  --branco: #fff;
  --nav-h: 60px;
  --raio: 12px;
}

* { box-sizing: border-box; }

/* Ícones SVG (sprite _icons.html). Traço herda a cor do texto (currentColor),
   então acompanham botões, links e estados hover/ativo automaticamente. */
.ic { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block;
  vertical-align: -3px; stroke-width: 2; }
.ic-sm { width: 15px; height: 15px; vertical-align: -2px; }
.ic-lg { width: 22px; height: 22px; }

html, body { margin: 0; height: 100%; }
/* guarda global: nada de rolagem horizontal acidental no celular */
html, body { overflow-x: hidden; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--tinta);
  background: var(--fundo);
  font-size: 14px;
  /* app-shell: coluna que ocupa toda a altura da tela */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ===== Barra superior (full-width, fixa no topo) ===== */
.nav {
  background: var(--azul);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 clamp(14px, 2vw, 26px);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 50;
  flex: 0 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-words { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-words strong { font-family: "Space Grotesk", sans-serif; font-size: 19px; font-weight: 700; }
.brand-words span { font-size: 12px; opacity: .85; white-space: nowrap; }
.nav-acoes { display: flex; align-items: center; gap: 10px; }
.nav-user { color: #fff; font-size: 13px; opacity: .9; white-space: nowrap; }
/* agrupa sino + hambúrguer + ações à direita da barra */
.nav-right { display: flex; align-items: center; gap: 10px; }

/* botão hambúrguer: escondido no desktop, aparece só no celular (regra no @media) */
.nav-toggle { display: none; width: 40px; padding: 0; justify-content: center; font-size: 20px; line-height: 1; }

/* ===== Sino de notificações + painel ===== */
.notif { position: relative; }
.notif-btn {
  position: relative; width: 40px; height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--branco); color: var(--tinta);
  border: 1px solid var(--linha); border-radius: 9px;
}
.notif-btn:hover { background: var(--azul-l); border-color: var(--azul); }
.notif-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  background: #e24b4a; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.notif-badge[hidden] { display: none; }
.notif-panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: 340px; max-width: 92vw;
  background: var(--branco); color: var(--tinta); border: 1px solid var(--linha);
  border-radius: 12px; box-shadow: 0 12px 34px rgba(15,23,42,.18); z-index: 60; overflow: hidden;
}
.notif-panel[hidden] { display: none; }
.notif-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--linha);
}
.notif-head strong { font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.notif-head button { border: none; background: none; color: var(--azul); font: inherit; font-size: 12px; cursor: pointer; }
.notif-list { max-height: 60vh; overflow: auto; }
.notif-vazio { padding: 22px 14px; color: var(--muted); font-size: 13px; text-align: center; }
.notif-item {
  display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left;
  padding: 11px 14px; border: none; border-bottom: 1px solid #f0f2f6; background: none;
  font: inherit; cursor: pointer;
}
.notif-item:hover { background: var(--azul-l); }
.notif-item.nao-lida { background: #f0f7ff; }
.notif-item.nao-lida .notif-item-titulo::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px;
  border-radius: 50%; background: var(--azul); vertical-align: middle;
}
.notif-item-titulo { font-weight: 600; font-size: 13px; color: var(--tinta); }
.notif-item-setor { align-self: flex-start; font-size: 10.5px; font-weight: 600; color: #1d4ed8; background: #e3efff; border-radius: 4px; padding: 0 6px; }
.notif-item-msg { font-size: 12px; color: var(--muted); }
.notif-item-data { font-size: 11px; color: #9aa2ad; }

/* ===== Toast (aviso flutuante de nova notificação) ===== */
.notif-toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 1200; max-width: 320px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--tinta); color: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.35);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.notif-toast.show { opacity: 1; transform: translateY(0); }
.notif-toast strong { font-size: 14px; }
.notif-toast span { font-size: 12px; opacity: .85; }

/* ===== Área principal: full-width, ocupa a altura restante ===== */
main {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;                       /* permite os filhos com overflow encolherem */
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(12px, 1.6vw, 24px);
}

.filtros {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 14px 16px;
  /* grid que se reorganiza sozinho: cada campo tem largura mínima e ocupa o
     resto igualmente, sem espremer quando há muitos filtros */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px 14px;
  align-items: end;
  flex: 0 0 auto;
}
.campo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.campo.grow2 { grid-column: span 2; }
.campo label { font-size: 12px; font-weight: 500; color: var(--muted); }
.campo select, .campo input { width: 100%; min-width: 0; }
/* a barra de ações ocupa a linha inteira, abaixo dos filtros */
.campo-acoes { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap; border-top: 1px solid var(--linha); margin-top: 2px; padding-top: 12px; }

select,
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="tel"], input[type="search"],
input[type="date"], input[type="time"], input[type="month"], input[type="datetime-local"] {
  height: 38px;
  border: 1px solid var(--linha);
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  background: var(--branco);
  color: var(--tinta);
  min-width: 120px;
}
select:focus,
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus,
input[type="number"]:focus, input[type="tel"]:focus, input[type="search"]:focus,
input[type="date"]:focus, input[type="time"]:focus, input[type="month"]:focus,
input[type="datetime-local"]:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px var(--azul-l);
}
/* campos de data/hora: mesmo visual dos outros campos (antes ficavam com a cara crua
   do navegador: borda preta, quadrados, mais baixos) e icone do calendario discreto */
input[type="date"], input[type="time"], input[type="month"], input[type="datetime-local"] {
  min-width: 140px;
  font-variant-numeric: tabular-nums;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .55;
  border-radius: 4px;
  padding: 2px;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="month"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background: var(--azul-l);
}

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 15px;
  border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 500; cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease;
}
.btn .ic { font-size: 17px; line-height: 1; }
.btn-primary { background: var(--azul); color: #fff; }
.btn-primary:hover { background: var(--azul-h); }
.btn-outline { background: var(--branco); border-color: var(--linha); color: var(--tinta); }
.btn-outline:hover { background: var(--azul-l); border-color: var(--azul); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-light:hover { background: rgba(255,255,255,.28); }
.btn-mini { height: 28px; padding: 0 10px; background: var(--branco); border: 1px solid var(--linha); color: var(--tinta); border-radius: 7px; }
.btn-mini:hover { background: var(--azul-l); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-perigo { background: #e24b4a; color: #fff; border-color: #e24b4a; }
.btn-perigo:hover { background: #c0392b; border-color: #c0392b; }

/* duas colunas em formulários/modais (colapsa no mobile via media query) */
.linha2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.req { color: #dc2626; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; flex: 0 0 auto; }
.stat { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px 16px; }
.stat .rotulo { font-size: 13px; color: var(--muted); }
.stat .valor { font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 600; color: var(--azul-d); margin-top: 2px; }

/* ===== Abas (so aparecem no celular) ===== */
.tabs-mobile { display: none; gap: 8px; flex: 0 0 auto; }
.tab-btn {
  flex: 1; height: 42px; border: 1px solid var(--linha); background: var(--branco);
  color: var(--muted); border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer;
}
.tab-btn.ativo { background: var(--azul); color: #fff; border-color: var(--azul); }

/* ===== Painel: mapa compacto no topo + tabela full-width abaixo =====
   Empilhado (não lado a lado) para a tabela ter toda a largura — muitas
   empresas ficam legíveis. A página rola naturalmente. */
.painel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 auto;
}
.card { background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; overflow: hidden; }
.mapa-card { display: flex; height: 340px; }
#mapa { flex: 1; width: 100%; height: 100%; }

.tabela-card { display: flex; flex-direction: column; min-width: 0; }
.tabela-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--linha); flex: 0 0 auto; }
.paginacao { display: flex; align-items: center; gap: 8px; }
/* rolagem horizontal só da tabela (não da página) quando faltar largura */
.tabela-scroll { overflow-x: auto; }
.muted { color: var(--muted); font-size: 13px; }

table { width: 100%; border-collapse: collapse; }
thead th {
  position: sticky; top: 0; z-index: 1;
  text-align: left; padding: 10px 12px;
  background: #f7f9fc; color: var(--muted);
  font-size: 12px; font-weight: 600;
  border-bottom: 1px solid var(--linha); white-space: nowrap;
}
tbody td { padding: 9px 12px; border-bottom: 1px solid #f0f2f6; font-size: 13px; vertical-align: middle; }
.cel-email { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tbody tr:hover td { background: var(--azul-l); }
.nome { font-weight: 500; }
.tag { display: inline-block; background: var(--azul-l); color: var(--azul-d); font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
td a { color: var(--azul); text-decoration: none; }
td a:hover { text-decoration: underline; }
.maps-link { font-size: 12px; color: var(--azul); white-space: nowrap; }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.modal-overlay[hidden] { display: none; }
.modal { background: var(--branco); border-radius: 14px; width: 460px; max-width: 100%; max-height: calc(100dvh - 32px); overflow: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--linha); }
.modal-head h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 17px; font-weight: 600; }
.modal-x { border: none; background: none; font-size: 16px; cursor: pointer; color: var(--muted); }
.modal-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--linha); }
.tipos-check { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.tipos-check label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 400; color: var(--tinta); }
.check-linha { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tinta); cursor: pointer; }
.check-linha input { width: auto; min-width: 0; height: auto; }

/* ===== Progresso da coleta CNES ===== */
.progresso-coleta .barra { height: 8px; border-radius: 6px; background: var(--linha); overflow: hidden; }
.barra-fill { height: 100%; width: 0; background: var(--azul); border-radius: 6px; transition: width .3s ease; }
.barra-fill.completa { width: 100%; background: #16a34a; }
.barra-fill.indeterminada { width: 40%; animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
#coletaStatus.sucesso { color: #15803d; font-weight: 600; }
#coletaStatus.erro { color: #b91c1c; font-weight: 600; }

/* chip flutuante quando a coleta esta minimizada */
.coleta-chip { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: inline-flex; align-items: center;
  gap: 8px; background: var(--azul); color: #fff; border: none; border-radius: 999px; padding: 10px 16px;
  font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(30,111,222,.4); }
.coleta-chip[hidden] { display: none; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

.export-wrap { position: relative; }
.export-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--branco); border: 1px solid var(--linha); border-radius: 10px; box-shadow: 0 8px 26px rgba(15,23,42,.14); padding: 6px; min-width: 190px; z-index: 50; display: flex; flex-direction: column; gap: 2px; }
.export-menu[hidden] { display: none; }
.export-menu button { width: 100%; text-align: left; background: none; border: none; padding: 9px 12px; border-radius: 7px; font: inherit; color: var(--tinta); cursor: pointer; }
.export-menu button:hover { background: var(--azul-l); }

/* ===== Login (continua centralizado, faz sentido) ===== */
.login-body { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; background: var(--fundo); padding: 20px; }
.login-card { background: var(--branco); border: 1px solid var(--linha); border-radius: 16px; padding: 28px 26px; width: 360px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.login-logo { display: flex; align-items: center; gap: 12px; }
.login-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--azul); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.login-logo strong { font-family: "Space Grotesk", sans-serif; font-size: 18px; display: block; color: var(--tinta); }
.login-logo span { font-size: 12px; color: var(--muted); }
.login-card h1 { font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 600; margin: 4px 0 0; }
.login-card label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.login-card .btn-primary { margin-top: 6px; justify-content: center; }
.login-erro { background: #fdecec; color: #a32d2d; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin: 0; }
.btn-google { justify-content: center; gap: 10px; background: var(--branco); border: 1px solid var(--linha); color: var(--tinta); font-weight: 600; text-decoration: none; }
.btn-google:hover { background: var(--fundo); border-color: var(--muted); }
.btn-google svg { flex: 0 0 auto; }
.login-ou { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.login-ou::before, .login-ou::after { content: ""; flex: 1; height: 1px; background: var(--linha); }

/* ===== Admin ===== */
/* 1 coluna no celular; 2 colunas no desktop (parear formulário + sua lista).
   Cartões com class 'card-full' ocupam a linha inteira. */
.admin { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; max-width: 1200px; margin: 0 auto; }
@media (min-width: 900px) { .admin { grid-template-columns: 1fr 1fr; } }
.admin .card-full { grid-column: 1 / -1; }
.admin .card { padding: 18px 20px; }
.admin h2 { font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 600; margin: 0 0 14px; }
.admin-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-form input { flex: 1; min-width: 160px; }
.admin-form select { min-width: 150px; }
.admin .tabela-scroll { overflow-x: auto; }
.admin table { width: 100%; border-collapse: collapse; }
.admin td .acoes-mt { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
#adminMsg, #motoristaMsg { margin: 12px 0 0; }
/* form de novo motorista: grid de campos + botão sempre visível em linha própria */
.mt-form { display: flex; flex-direction: column; gap: 14px; }
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.mt-grid input { width: 100%; }
.mt-foot { display: flex; }
.mt-email { font-size: 12px; }

/* Seleção de bases (checkboxes) — usada no cadastro/edição de motorista */
.campo-bases { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.campo-bases > span { font-size: 12px; font-weight: 500; color: var(--muted); }
.bases-check { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.bases-check .muted { font-size: 13px; }
.base-chk.base-orfa { border-color: #f5c26b; background: #fff8eb; color: #8a5300; }
.base-chk {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--linha); border-radius: 999px; padding: 5px 12px;
  font-size: 13px; background: var(--branco); user-select: none;
}
.base-chk:hover { border-color: var(--azul); }
.base-chk input { width: auto; min-width: 0; height: auto; margin: 0; accent-color: var(--azul); }
.base-chk:has(input:checked) { background: var(--azul-l); border-color: var(--azul); color: var(--azul-d); font-weight: 600; }

/* =========================================================
   RESPONSIVO
   ========================================================= */

/* Tablet: o painel já empilha (flex-column); só reduzimos o mapa um pouco */
@media (max-width: 1024px) {
  .mapa-card { height: 300px; }
}

/* Celular: abas Mapa/Lista, filtros empilhados, tabela vira cartoes */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand-words { display: none; }            /* no celular fica so o icone da marca */
  .nav-user { display: none; }
  .nav { padding: 0 12px; gap: 8px; }
  .nav-acoes { gap: 6px; }
  .nav-acoes .btn { height: 38px; padding: 0 11px; font-size: 13px; }
  .nav-acoes .btn .ic { font-size: 15px; }

  /* ações do header colapsam num menu hambúrguer (não saem mais da tela) */
  .nav-toggle { display: inline-flex; }
  .nav-acoes {
    position: absolute; top: var(--nav-h); right: 8px; z-index: 70;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--branco); border: 1px solid var(--linha); border-radius: 12px;
    padding: 8px; box-shadow: 0 12px 30px rgba(15,23,42,.2); min-width: 210px; display: none;
  }
  .nav-acoes.aberto { display: flex; }
  /* dentro do dropdown os botões viram escuros (fundo branco, não mais o azul) */
  .nav-acoes .btn, .nav-acoes .btn-light {
    width: 100%; justify-content: flex-start; height: 44px;
    background: var(--branco); color: var(--tinta); border-color: var(--linha);
  }
  .nav-acoes .btn:hover, .nav-acoes .btn-light:hover { background: var(--azul-l); }

  .filtros { padding: 12px; gap: 10px; grid-template-columns: 1fr; }
  .campo.grow2 { grid-column: auto; }
  .campo-acoes { width: 100%; }
  .campo-acoes .btn, .export-wrap { flex: 1; }
  .export-wrap .btn { width: 100%; justify-content: center; }
  /* 16px evita o zoom automatico do iOS; 44px = alvo de toque confortavel */
  select,
  input[type="text"], input[type="password"], input[type="email"],
  input[type="number"], input[type="tel"], input[type="search"],
  input[type="date"], input[type="time"], input[type="month"], input[type="datetime-local"] { font-size: 16px; height: 44px; }
  .btn { height: 44px; }

  /* abas controlam o que aparece: mapa OU lista (uma de cada vez) */
  .tabs-mobile { display: flex; }
  .mapa-card { height: 60vh; }
  .painel.vista-mapa .tabela-card { display: none; }
  .painel.vista-lista .mapa-card { display: none; }
  .tabela-scroll { overflow-x: auto; }       /* colunas rolam se faltar largura */

  /* tabela -> cartoes */
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tbody tr { border: 1px solid var(--linha); border-radius: 12px; margin: 10px; padding: 6px 14px; background: var(--branco); }
  tbody tr:hover td { background: transparent; }
  tbody td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 1px solid #f2f4f8; font-size: 14px; text-align: right; }
  tbody td:last-child { border-bottom: none; }
  tbody td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 12px; text-align: left; flex: 0 0 auto; }
  tbody td.nome { font-size: 15px; font-weight: 600; }
  tbody td .tag { white-space: normal; }
  tbody td[data-label=""]::before { display: none; }
  tbody td.cel-email { white-space: normal; overflow: visible; max-width: none; word-break: break-all; }
}

/* Telas largas: um respiro extra nas laterais para nao "esticar" demais o conteudo */
@media (min-width: 1800px) {
  main { padding-left: clamp(24px, 4vw, 90px); padding-right: clamp(24px, 4vw, 90px); }
}

/* Respeita quem prefere menos animacao */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
