@font-face {
  font-family: "News701 BT";
  src: url("/fonts/news701-bt-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "News701 BT";
  src: url("/fonts/news701-bt-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --cor: #cc130a;
  --fundo: #ffffff;
  --lateral: #f5f5f5;
  --botao: #efeded;
  --conteudo: 480px;
  --fonte-marca: "Gasoek One", system-ui, sans-serif;
  --fonte-news: "News701 BT", Georgia, "Times New Roman", serif;
  --fonte-texto:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--lateral);
  font-family: var(--fonte-texto);
  color: #111;
}

/* 3 colunas: lateral | conteúdo 480px | lateral */
.layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, var(--conteudo)) 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.lateral {
  background: var(--lateral);
}

.centro {
  min-width: 0;
  background: var(--fundo);
  display: flex;
  flex-direction: column;
}

.header {
  position: sticky;
  top: 0;
  z-index: 999; /* acima de tudo (VSL, celulares...) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--fundo);
}

.logo {
  font-family: var(--fonte-marca);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--cor);
  text-decoration: none;
}

/* Logo ASDOJOB: "AS" Inter fina, "DO" Inter grossa, "JOB" na fonte da marca */
.logo-as,
.logo-do {
  font-family: var(--fonte-texto);
  letter-spacing: 0;
}

.logo-as {
  font-weight: 400;
}

.logo-do {
  font-weight: 800;
}

/* Bloqueio até a VSL liberar (classe posta pelo partials/header.html): em todas as
   páginas some o menu e todo botão que abre o checkout do passe */
html.bloqueado .menu,
html.bloqueado .menu-painel,
html.bloqueado .entrar,
html.bloqueado [data-passe] {
  display: none !important;
}

/* Texto dos botões de entrar: até 2 linhas equilibradas, junto do ícone */
.botao-texto {
  max-width: 13em;
}

.botao-destaque {
  color: #cc130a;
  font-weight: 900;
}

.menu {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--botao);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu span {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--cor);
  border-radius: 2px;
  box-shadow:
    0 -4px 0 var(--cor),
    0 4px 0 var(--cor);
}

/* Flag vermelha apontando para os ••• do navegador do app */
.flag-app {
  display: flex;
  justify-content: flex-end;
  padding: 12px 10px 0;
  background: var(--fundo);
}

.flag-app[hidden] {
  display: none;
}

.flag-app-caixa {
  position: relative;
  width: min(100%, 290px);
  animation: flag-app-chama 1.6s ease-in-out infinite;
}

/* setinha pra cima, no canto direito (onde ficam os •••) */
.flag-app-caixa::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  border: 8px solid transparent;
  border-top: 0;
  border-bottom-color: #111;
}

.flag-app-balao {
  padding: 0 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
}

/* corta o texto dentro do padding, com as pontas esmaecendo */
.flag-app-janela {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
}

.flag-app-trilho {
  display: flex;
  width: max-content;
  animation: flag-app-passa 11s linear infinite;
}

.flag-app-trilho > span {
  padding: 9px 0 9px 32px;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

/* os ••• dentro de uma bolinha, como no aviso.html */
.flag-app-pontos {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: -3px 3px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  vertical-align: middle;
}

.flag-app-pontos svg {
  width: 12px;
  height: 12px;
  display: block;
}

.flag-app--android .flag-app-pontos svg {
  transform: rotate(90deg);
}

@keyframes flag-app-passa {
  to {
    transform: translateX(-50%);
  }
}

@keyframes flag-app-chama {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flag-app-trilho,
  .flag-app-caixa {
    animation: none;
  }
}

/* Âncoras (ex.: /#sobre) param abaixo do header fixo */
[id] {
  scroll-margin-top: 80px;
}

/* Menu aberto: cobre a coluna do meio */
.menu-painel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--conteudo));
  z-index: 1000; /* o menu aberto cobre a header */
  background: #f1eeee;
  display: flex;
  flex-direction: column;
  padding: 14px 20px 32px;
  animation: menu-entra 0.18s ease-out;
}

.menu-painel[hidden] {
  display: none;
}

@keyframes menu-entra {
  from {
    opacity: 0;
  }
}

.menu-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

.menu-icone img {
  display: block;
  width: 36px;
  height: 36px;
}

.menu-acoes {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-entrar {
  padding: 12px 22px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.menu-fechar {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-fechar svg {
  width: 18px;
  height: 18px;
}

.menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin-top: 24px;
}

.menu-links a {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #111;
  text-decoration: none;
}

.menu-links a:hover {
  color: var(--cor);
}

.voltar-barra {
  padding: 4px 20px 0;
}

.voltar-barra[hidden] {
  display: none;
}

.voltar {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--botao);
  color: var(--cor);
  transition: transform 0.15s ease;
}

.voltar:hover {
  transform: translateX(-2px);
}

.voltar svg {
  width: 20px;
  height: 20px;
}

main {
  flex: 1;
  padding: 20px 20px 0;
}

/* Rodapé geral (partials/footer.html) */
.rodape {
  background: #5a000f;
  color: #ffd6dc;
  padding: 40px 20px 0;
  border-top: 1px solid rgba(255, 214, 220, 0.12);
  overflow: hidden;
}

.rodape-topo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.rodape-icone {
  width: 36px;
  height: 36px;
  flex: none;
}

.rodape-copy {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.rodape-desc {
  font-size: 14px;
  line-height: 1.6;
}

.rodape-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 32px;
}

.rodape-links a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.rodape-links a:hover {
  text-decoration: underline;
}

.rodape-marca {
  margin: 0 -20px;
  padding-bottom: 20px;
  line-height: 0.8;
  white-space: nowrap;
  text-align: center;
}

.rodape-marca > span {
  display: inline-block;
  font-family: var(--fonte-marca);
  font-weight: 400;
  font-size: 80px;
  color: var(--cor);
}

/* Mobile: só o conteúdo, ocupando a tela toda */
@media (max-width: 480px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .lateral {
    display: none;
  }
}
