/*
 * Guincho Asa Norte, v2.1: app vertical de tela fixa.
 * Topo grafite e aba branca emolduram uma tela de metal escovado (feito em CSS,
 * sem imagem, então fica nítido em qualquer densidade de pixel).
 * Amarelo de placa só para ação e destaque. Verde WhatsApp escurecido para o contraste.
 * Títulos condensados (Archivo, eixo de largura). Sem cartões com sombra, sem caixa-alta,
 * sem setas digitadas: as setas e ícones vêm do sprite.
 */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sinal: #FFC61A;
  --sinal-claro: #FFD657;
  --grafite: #17191B;
  --grafite-2: #2B2F33;
  --metal: #ECEFF0;
  --metal-2: #D3D9DD;
  --branco: #FFFFFF;
  --wa: #25D366;
  --wa-escuro: #15803D;
  --wa-escuro-2: #116B33;
  --texto-2: #4A5057;
  --linha: #C3CACE;
  --alerta: #B3121B;
  --fonte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --topo: 56px;
  --acoes: 82px;
  --abas: 62px;
  --dock: calc(var(--acoes) + var(--abas) + env(safe-area-inset-bottom, 0px));
  --raio: 16px;
  --toque: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; height: 100%; }

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--metal);
  color: var(--grafite);
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--grafite); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 3px; }

button { font: inherit; }

:focus-visible { outline: 3px solid var(--grafite); outline-offset: 2px; }

.topo :focus-visible,
.abas :focus-visible { outline-color: var(--sinal); }
.topo :focus-visible { outline-offset: -4px; }
.abas :focus-visible { outline-offset: -5px; }

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--sinal);
  color: var(--grafite);
  padding: 0.75rem 1rem;
  font-weight: 700;
}
.pular:focus { left: 0.75rem; top: 0.75rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

[hidden] { display: none !important; }

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  font-family: var(--fonte);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; margin: 0 0 12px; }
h3 { font-size: 1.0625rem; font-stretch: 90%; font-weight: 700; line-height: 1.25; margin: 0 0 4px; }
p { margin: 0 0 1rem; }

.lead { font-size: 1.0625rem; line-height: 1.5; margin: 0 0 14px; }
.lead-curto { font-size: 1.0625rem; line-height: 1.5; margin: 0 0 14px; }
.meta, .nota, .nota-pequena { color: var(--texto-2); font-size: 0.9375rem; }
.nota-pequena { font-size: 0.875rem; }

/* ---------- Casca do app ---------- */
.estudio { min-height: 100vh; min-height: 100dvh; }

.app {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--metal);
  background-image:
    radial-gradient(90% 46% at 50% 12%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%),
    repeating-linear-gradient(90deg, rgba(23, 25, 27, 0.02) 0 1px, rgba(255, 255, 255, 0) 1px 3px);
}

.estudio-lado { display: none; }

@media (min-width: 600px) {
  body { background: var(--metal-2); }
  .estudio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    height: 100vh;
    height: 100dvh;
    padding: 24px;
  }
  .app {
    width: min(440px, 100%);
    height: min(900px, calc(100dvh - 48px));
    border-radius: 28px;
    box-shadow: 0 0 0 1px rgba(23, 25, 27, 0.1), 0 30px 60px -24px rgba(23, 25, 27, 0.4);
  }
}

@media (min-width: 1000px) {
  .estudio-lado { display: block; width: 280px; flex: none; }
  .estudio-lado h2 { font-size: 1.75rem; margin-bottom: 10px; }
  .estudio-lado p { color: var(--texto-2); }
  .estudio-contatos { display: grid; gap: 4px 0; margin: 18px 0 0; }
  .estudio-contatos dt { font-weight: 700; color: var(--texto-2); font-size: 0.9375rem; margin-top: 12px; }
  .estudio-contatos dd { margin: 0; }
  .estudio-contatos a { font-size: 1.625rem; font-weight: 800; font-stretch: 80%; text-decoration: none; line-height: 1.25; }
  .estudio-contatos a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
}

/* ---------- Topo ---------- */
.topo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: calc(var(--topo) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0 12px;
  background: var(--grafite);
  color: var(--branco);
  border-bottom: 3px solid var(--sinal);
}
.topo a { color: var(--branco); }

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
}
.marca img { width: 38px; height: 38px; flex: none; }
.marca-texto { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.marca-nome {
  font-stretch: 82%;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.marca-sub {
  font-size: 0.8125rem;
  color: #C9CED1;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topo-voltar {
  display: grid;
  place-items: center;
  width: var(--toque);
  height: var(--toque);
  flex: none;
  margin-left: -10px;
  color: var(--branco);
  border-radius: 12px;
}
.topo-voltar .ico { width: 24px; height: 24px; transform: rotate(180deg); }

.topo-titulo {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-stretch: 85%;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topo-ligar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  margin-left: auto;
  background: var(--sinal);
  color: var(--grafite);
  border-radius: 14px;
  touch-action: manipulation;
}
.topo-ligar:active { transform: scale(0.96); }
.topo-ligar .ico { width: 24px; height: 24px; }

/* ---------- Tela (a área que rola) ---------- */
.tela {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 28px;
  outline: none;
}

/* Migalhas existem para o Google e para leitores de tela; a navegação visível é o topo. */
.migalhas {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Dock: ações fixas e abas ---------- */
.dock { display: grid; }

.acoes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 10px 16px 12px;
  background: var(--metal);
}

.acao {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 60px;
  padding: 8px 12px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.15;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, background-color 0.15s ease;
}
.acao:active { transform: scale(0.98); }
.acao .ico { width: 30px; height: 30px; flex: none; }

.acao-wa { background: var(--wa-escuro); color: var(--branco); }
.acao-wa:hover { background: var(--wa-escuro-2); }
.acao-ligar { background: var(--sinal); color: var(--grafite); }
.acao-ligar:hover { background: var(--sinal-claro); }

.acao-texto { display: grid; min-width: 0; }
.acao-texto strong {
  font-size: 1.0625rem;
  font-weight: 800;
  font-stretch: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acao-texto small {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abas {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--branco);
  border-top: 1px solid var(--linha);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.aba {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--abas);
  padding: 8px 2px 7px;
  background: none;
  border: 0;
  color: var(--texto-2);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.aba .ico { width: 26px; height: 26px; }
.aba[aria-current] { color: var(--grafite); }
.aba[aria-current]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 4px;
  transform: translateX(-50%);
  background: var(--sinal);
  border-radius: 0 0 4px 4px;
}

/* ---------- Início (tela de entrada) ---------- */
.inicio {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding-top: 14px;
}

.placa-cena {
  width: min(72%, 300px, 36dvh);
  margin: 0;
  animation: placa-entra 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.placa-logo { width: 100%; height: auto; }
@keyframes placa-entra {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}

.inicio h1 {
  font-size: clamp(1.875rem, 8.4vw, 2.25rem);
  line-height: 1.02;
  max-width: 18ch;
}
.inicio-promessa {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--texto-2);
}
.inicio .nota-chegada {
  margin: 0;
  max-width: 36ch;
  font-size: 0.9375rem;
  color: var(--texto-2);
}
.inicio-mais { margin: 0; font-weight: 700; font-size: 0.9375rem; }

/* Tipos de veículo: plaquinhas de contorno grafite */
.tipos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.tipo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100px;
  padding: 10px 4px;
  background: var(--branco);
  border: 2px solid var(--grafite);
  color: var(--grafite);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, transform 0.12s ease;
}
.tipo .ico { width: 44px; height: 44px; }
.tipo:hover, .tipo:focus-visible, .tipo:active { background: var(--sinal); }
.tipo:active { transform: scale(0.97); }

/* ---------- Seções abaixo da entrada ---------- */
.secao { padding-top: 30px; }

.cabecalho-pagina { padding-top: 18px; }
.cabecalho-pagina h1 { font-size: clamp(1.75rem, 7.4vw, 2.1rem); line-height: 1.04; margin-bottom: 10px; }
.cabecalho-pagina .botoes { margin: 14px 0 26px; }
.cabecalho-pagina + .secao { padding-top: 22px; }

.secao-topo { margin-top: 26px; padding-top: 20px; border-top: 2px solid var(--grafite); }

/* Diferenciais: linhas com ícone em placa */
.diferenciais {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--grafite);
}
.diferencial {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--linha);
}
.diferencial-icone {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--branco);
  border: 2px solid var(--grafite);
}
.diferencial-icone .ico { width: 34px; height: 34px; }
.diferencial p { margin: 0; color: var(--texto-2); font-size: 0.9375rem; line-height: 1.45; }

/* Serviços: linhas com ícone em placa */
.lista-servicos,
.lista-areas,
.lista-areas-pagina,
.lista-guias,
.lista-guias-pagina,
.lista-rapida,
.lista-perfis {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--grafite);
}
.lista-servicos li,
.lista-areas li,
.lista-areas-pagina li,
.lista-guias li,
.lista-guias-pagina li,
.lista-rapida li,
.lista-perfis li { border-bottom: 1px solid var(--linha); }

.servico-linha,
.linha-rapida {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 4px 10px 0;
  color: var(--grafite);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}
.servico-linha:active,
.linha-rapida:active { background: rgba(255, 198, 26, 0.3); }
.servico-icone {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--branco);
  border: 2px solid var(--grafite);
}
.servico-icone .ico { width: 34px; height: 34px; }
.servico-corpo { display: grid; gap: 2px; min-width: 0; flex: 1; }
.servico-nome { font-stretch: 85%; font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.servico-resumo { color: var(--texto-2); font-size: 0.9375rem; line-height: 1.4; }
.linha-rapida { font-weight: 700; font-size: 1.0625rem; }
.linha-texto { flex: 1; min-width: 0; }

.servico-linha::after,
.linha-rapida::after,
.lista-areas a::after,
.lista-guias a::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-right: 6px;
}

/* Passos: sequência real, então a numeração faz sentido */
.passos { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--grafite); }
.passo {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--linha);
}
.passo-numero {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--grafite);
  color: var(--sinal);
  font-stretch: 75%;
  font-weight: 800;
  font-size: 1.375rem;
}
.passo p { margin: 0; color: var(--texto-2); font-size: 0.9375rem; }

/* Áreas e guias: textos empilhados (nome, resumo, leitura) e seta centrada à direita */
.lista-areas a,
.lista-guias a,
.lista-areas-pagina a,
.lista-guias-pagina a {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 60px;
  padding: 14px 40px 14px 0;
  color: var(--grafite);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.lista-areas a::after,
.lista-guias a::after {
  position: absolute;
  right: 6px;
  top: 50%;
  margin: 0;
  transform: translateY(-50%) rotate(45deg);
}
.lista-areas a:active,
.lista-guias a:active { background: rgba(255, 198, 26, 0.3); }
.area-nome,
.guia-titulo { display: block; font-stretch: 85%; font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.area-resumo,
.guia-resumo { display: block; color: var(--texto-2); font-size: 0.9375rem; line-height: 1.4; }
.guia-leitura { display: block; font-size: 0.875rem; color: var(--texto-2); margin-top: 2px; }
.guia-corpo { display: grid; gap: 2px; min-width: 0; flex: 1; }

/* Chips: áreas em placas de contorno grafite, como os tipos de veículo */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: var(--toque);
  padding: 8px 14px;
  border: 2px solid var(--grafite);
  border-radius: 0;
  background: var(--branco);
  color: var(--grafite);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.chips a:hover,
.chips a:focus-visible,
.chips a:active { background: var(--sinal); }

/* Perguntas: detalhes nativos, sinal de + e − no canto */
.faq { border-top: 2px solid var(--grafite); }
.faq-item { border-bottom: 1px solid var(--linha); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid var(--grafite);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--sinal); }
.faq-item p { margin: 0; padding: 0 0 16px; color: var(--texto-2); font-size: 0.9375rem; }

/* Mapa: só carrega quando o visitante pede */
.mapa { margin-top: 16px; }
.mapa-quadro {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  min-height: 200px;
  padding: 22px 18px;
  text-align: center;
  background: var(--grafite);
  color: var(--branco);
}
.mapa-quadro p { margin: 0; max-width: 36ch; }
.mapa .btn-linha { background: var(--sinal); color: var(--grafite); border-color: var(--sinal); }
.mapa .btn-linha:hover { background: var(--branco); border-color: var(--branco); }
.mapa iframe { width: 100%; height: 320px; border: 0; display: block; }
.mapa.carregado .mapa-quadro { display: none; }
.mapa-link { margin-top: 10px; font-weight: 700; }

/* Faixa de chamada final: bloco grafite de largura total dentro da tela */
.faixa-cta {
  margin: 34px -16px 0;
  padding: 28px 16px 26px;
  background: var(--grafite);
  color: var(--branco);
}
.faixa-cta h2 { color: var(--sinal); font-size: 1.625rem; }
.faixa-cta p { color: #E6E9EB; margin: 0 0 4px; }
.faixa-cta .botoes { margin-top: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  border: 2px solid var(--grafite);
  border-radius: 14px;
  background: var(--branco);
  color: var(--grafite);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn .ico { width: 26px; height: 26px; flex: none; }
.btn-grande { min-height: 60px; font-size: 1.0625rem; }
.btn-sinal { background: var(--sinal); border-color: var(--sinal); }
.btn-sinal:hover { background: var(--sinal-claro); border-color: var(--sinal-claro); }
.btn-whatsapp { background: var(--wa-escuro); border-color: var(--wa-escuro); color: var(--branco); }
.btn-whatsapp:hover { background: var(--wa-escuro-2); border-color: var(--wa-escuro-2); }
.btn-linha { background: transparent; }
.btn-linha:hover { background: var(--grafite); color: var(--branco); }
.btn-grafite { background: var(--grafite); color: var(--branco); }
.btn-grafite:hover { background: #000; }
.btn-cabecalho { min-height: var(--toque); }

.botoes { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- Formulários: 16 px evita o zoom automático do iPhone ---------- */
.formulario { display: grid; gap: 14px; margin-top: 16px; }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 700; font-size: 0.9375rem; }
.obrigatorio { font-weight: 400; color: var(--texto-2); font-size: 0.875rem; }
input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--grafite);
  background: var(--branco);
  border: 2px solid var(--grafite);
  border-radius: 12px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid var(--sinal); outline-offset: 0; }

/* ---------- Contato ---------- */
.contato-grade { display: grid; gap: 26px; padding-top: 6px; }
.dados-contato {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  margin: 12px 0 0;
}
.dados-contato dt { font-weight: 700; }
.dados-contato dd { margin: 0; overflow-wrap: anywhere; }
.dados-contato a { display: inline-flex; align-items: center; min-height: 44px; }
.contato-lateral { border-top: 2px solid var(--grafite); padding-top: 16px; }
.contato-lateral h2 { font-size: 1.375rem; }
.prova { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--grafite); }
.prova h2 { font-size: 1.25rem; }

.lista-perfis li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
}
.lista-perfis p { margin: 0; color: var(--texto-2); font-size: 0.9375rem; }
.perfil-icone {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--sinal);
}
.perfil-icone .ico { width: 32px; height: 32px; }

/* ---------- Artigos (serviço, área, guia, jurídico) ---------- */
.corpo-texto { max-width: none; }
.corpo-texto p { margin-bottom: 1rem; }
.corpo-texto h2 { margin-top: 28px; font-size: 1.375rem; }
.secao-duas { display: grid; gap: 20px; margin-top: 22px; }
.marcadores { list-style: none; margin: 0; padding: 0; }
.marcadores li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.7rem;
  border-bottom: 1px solid var(--linha);
  font-size: 0.9375rem;
}
.marcadores li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--sinal);
  border: 2px solid var(--grafite);
}
.nota-destaque {
  margin-top: 22px;
  padding: 16px 16px 16px 18px;
  background: var(--branco);
  border-left: 6px solid var(--sinal);
}
.nota-destaque h2 { font-size: 1.25rem; margin-bottom: 6px; }
.nota-destaque p { margin: 0; }
.chamada { margin-top: 26px; padding: 20px 18px; background: var(--grafite); color: var(--branco); }
.chamada-texto { font-size: 1.0625rem; font-weight: 600; margin: 0 0 6px; }
.chamada .btn-linha { border-color: var(--branco); color: var(--branco); }
.chamada .btn-linha:hover { background: var(--branco); color: var(--grafite); }
.lista-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lista-links a { font-weight: 700; }
.links-rapidos { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-weight: 700; }
.artigo-juridico h2 { font-size: 1.25rem; margin-top: 24px; }
.artigo-juridico p { max-width: none; }

/* ---------- Página de anúncios ---------- */
.lista-rapida { margin-top: 14px; }
.linha-rapida { min-height: 68px; }
.linha-rapida:hover,
.linha-rapida:focus-visible { background: rgba(255, 198, 26, 0.3); }

/* ---------- Galeria ---------- */
.galeria {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.galeria img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.galeria figcaption { font-size: 0.875rem; color: var(--texto-2); margin-top: 4px; }

/* ---------- Rodapé (rola no fim de cada tela) ---------- */
.rodape {
  margin: 36px -16px 0;
  padding: 28px 16px 26px;
  background: var(--grafite);
  color: #E6E9EB;
}
.rodape a { color: var(--branco); }
.rodape a:focus-visible { outline-color: var(--sinal); }
.rodape-interno { display: grid; gap: 24px; }
.rodape-marca img { width: 56px; height: 56px; }
.rodape-nome { font-weight: 800; font-stretch: 82%; font-size: 1.25rem; color: var(--branco); margin: 8px 0 2px; }
.rodape-marca p { margin: 0; color: #C9CED1; font-size: 0.9375rem; }
.rodape-titulo { font-size: 1rem; font-weight: 800; color: var(--sinal); margin: 0 0 8px; font-stretch: 100%; }
.rodape .dados-contato { grid-template-columns: max-content minmax(0, 1fr); margin-top: 0; }
.rodape .dados-contato dt { color: #AEB6BD; font-weight: 600; }
.lista-simples { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rodape-base {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #3A3E43;
  color: #C9CED1;
  font-size: 0.875rem;
}
.rodape-base p { margin: 0 0 6px; }
.rodape-legal a { display: inline-block; margin: 4px 16px 4px 0; color: var(--branco); }
.rodape-enxuto { margin-top: 28px; }
.rodape-enxuto .rodape-base { margin-top: 0; border-top: 0; padding-top: 0; }
/* O rodapé encosta no dock: o espaço da tela vira respiro dentro da faixa escura. */
.tela > .rodape { margin-bottom: -28px; padding-bottom: 54px; }
/* Faixa de chamada logo acima do rodapé: as duas faixas escuras viram um bloco só, com filete entre elas. */
.faixa-cta + .rodape { margin-top: 0; border-top: 1px solid #3A3E43; }

.link-botao {
  font: inherit;
  color: var(--branco);
  background: transparent;
  border: 2px solid var(--sinal);
  min-height: var(--toque);
  padding: 8px 14px;
  margin-top: 4px;
  cursor: pointer;
  font-weight: 700;
}

/* ---------- Folha "Mais" (dialog nativo, sobe de baixo) ---------- */
.folha {
  inset: auto 0 0 0;
  margin: 0 auto;
  width: min(100%, 440px);
  max-width: 100%;
  max-height: min(88vh, 88dvh, 720px);
  padding: 0;
  border: 0;
  border-radius: 22px 22px 0 0;
  background: var(--branco);
  color: var(--grafite);
  box-shadow: 0 -20px 40px -16px rgba(23, 25, 27, 0.4);
  overflow: hidden;
}
.folha::backdrop { background: rgba(23, 25, 27, 0.55); }
.folha[open] { animation: folha-sobe 0.28s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes folha-sobe {
  from { transform: translateY(28px); opacity: 0.3; }
  to { transform: none; opacity: 1; }
}
.folha-corpo {
  max-height: min(88vh, 88dvh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 18px calc(20px + env(safe-area-inset-bottom, 0px));
}
.folha-puxador {
  display: block;
  width: 44px;
  height: 5px;
  margin: 4px auto 8px;
  background: var(--linha);
  border-radius: 3px;
}
.folha-topo { display: flex; align-items: center; gap: 8px; }
.folha-topo h2 { flex: 1; font-size: 1.5rem; margin: 0; }
.folha-fechar {
  width: var(--toque);
  height: var(--toque);
  display: grid;
  place-items: center;
  background: transparent;
  border: 2px solid var(--grafite);
  border-radius: 14px;
  cursor: pointer;
  touch-action: manipulation;
}
.folha-fechar .ico { width: 22px; height: 22px; }
.folha-lista {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-top: 2px solid var(--grafite);
}
.folha-lista a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linha);
  color: var(--grafite);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.folha-lista a::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-right: 6px;
}
.folha-lista a:active { background: rgba(255, 198, 26, 0.3); }
.folha-subtitulo { font-size: 1rem; margin: 20px 0 6px; }
.folha-acoes { display: grid; gap: 10px; margin-top: 16px; }
.folha .rodape-legal { margin-top: 14px; }
.folha .rodape-legal a { color: var(--grafite); }

/* ---------- Aviso de medição (cookies), logo acima do dock ---------- */
.consentimento {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(var(--dock) + 10px);
  z-index: 70;
  max-width: 440px;
  margin-inline: auto;
  background: var(--branco);
  border: 2px solid var(--grafite);
  border-radius: 16px;
  padding: 14px 16px;
}
.consentimento p { font-size: 0.9375rem; margin-bottom: 12px; }
.consentimento-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consentimento-acoes .btn { min-height: 48px; font-size: 0.9375rem; }

/* ---------- Telas estreitas (320 a 379 px): dock e cabeçalho sem cortes ---------- */
@media (max-width: 379px) {
  .acao { padding: 8px 10px; gap: 8px; }
  .acao .ico { width: 28px; height: 28px; }
  .acao-texto strong { font-size: 1rem; }
}
@media (max-width: 359px) {
  .acoes { padding-inline: 12px; }
  .acao .ico { width: 24px; height: 24px; }
  .acao-texto small { font-size: 0.75rem; }
  .aba { font-size: 0.6875rem; }
  .topo { gap: 8px; padding-inline: 10px; }
}

/* ---------- Movimento reduzido: sem entrada da placa, sem transições ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
