/*
 * Site institucional da SALEZIN LTDA (salezinltda.site). Um CSS só para as três páginas
 * (início, termos e privacidade), sem fonte baixada: usa a fonte do próprio aparelho.
 */

:root {
  --tinta: #0b1b33;
  --tinta-suave: #2a3953;
  --apagado: #5b6882;
  --azul: #2b59ff;
  --azul-escuro: #1c3fd0;
  --azul-claro: #edf1ff;
  --fundo: #ffffff;
  --fundo-suave: #f5f7fb;
  --borda: #e2e7f0;
  --raio: 16px;
  --largura: 1120px;
  --fonte:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--azul);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--largura));
  margin-inline: auto;
}

.pular {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 20;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--tinta);
  color: #fff;
}

.pular:focus {
  left: 12px;
}

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

/* Cabeçalho */

.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--borda);
}

.topo-dentro {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tinta);
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.marca img {
  width: 36px;
  height: 36px;
  flex: none;
}

.menu {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.menu a {
  color: var(--tinta-suave);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
}

.menu a:hover {
  color: var(--azul);
}

/* Botões */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--azul);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.botao:hover {
  background: var(--azul-escuro);
}

.botao svg {
  width: 18px;
  height: 18px;
}

.botao-pequeno {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.botao-linha {
  background: transparent;
  border-color: #c9d2e3;
  color: var(--tinta);
}

.botao-linha:hover {
  background: var(--fundo-suave);
  border-color: var(--tinta);
}

.botao-claro {
  background: #fff;
  color: var(--tinta);
}

.botao-claro:hover {
  background: var(--azul-claro);
}

.botao-vazado {
  background: transparent;
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
}

.botao-vazado:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: #fff;
}

/* Abertura */

.abertura {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 420px at 88% -10%, #e4ebff 0%, rgb(228 235 255 / 0) 70%),
    linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}

.abertura-dentro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid #d5ddf5;
  border-radius: 999px;
  background: #fff;
  color: var(--tinta-suave);
  font-size: 14px;
  font-weight: 600;
}

.selo::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--azul);
}

.abertura h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.abertura h1 em {
  font-style: normal;
  color: var(--azul);
}

.abertura .resumo {
  max-width: 600px;
  margin-top: 22px;
  color: var(--apagado);
  font-size: 19px;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.quadro {
  padding: 28px;
  border: 1px solid var(--borda);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(11 27 51 / 0.04),
    0 24px 48px -24px rgb(11 27 51 / 0.18);
}

.quadro-titulo {
  margin-bottom: 18px;
  color: var(--apagado);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quadro ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quadro li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--fundo-suave);
  font-weight: 650;
}

.quadro li div > span {
  display: block;
  color: var(--apagado);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.4;
}

/* Ícones */

.icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--azul-claro);
  color: var(--azul);
}

.icone svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Seções */

.secao {
  padding: 96px 0;
}

.secao-suave {
  background: var(--fundo-suave);
}

.rotulo {
  margin-bottom: 14px;
  color: var(--azul);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secao h2 {
  max-width: 720px;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
}

.secao .introducao {
  max-width: 680px;
  margin-top: 16px;
  color: var(--apagado);
  font-size: 18px;
}

.quem-somos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.quem-somos .texto {
  display: grid;
  gap: 18px;
  color: var(--tinta-suave);
  font-size: 18px;
}

.frentes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.frentes div {
  padding: 18px 20px;
  border: 1px solid var(--borda);
  border-left: 3px solid var(--azul);
  border-radius: 14px;
  line-height: 1.4;
}

.frentes strong {
  display: block;
  font-size: 17px;
}

.frentes p {
  margin-top: 6px;
  color: var(--apagado);
  font-size: 15px;
}

.cartoes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.cartao {
  padding: 28px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: #fff;
}

.cartao h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 750;
}

.cartao p {
  margin-top: 10px;
  color: var(--apagado);
  font-size: 16px;
}

.passos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.passos li {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--borda);
  counter-increment: passo;
}

.passos li::before {
  content: counter(passo, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--azul);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.passos li:first-child {
  border-top-color: var(--azul);
}

.passos h3 {
  font-size: 19px;
  font-weight: 750;
}

.passos p {
  margin-top: 8px;
  color: var(--apagado);
  font-size: 16px;
}

/* Contato */

.contato {
  padding: 96px 0;
  background:
    radial-gradient(700px 360px at 100% 0%, rgb(61 107 255 / 0.35) 0%, rgb(61 107 255 / 0) 70%),
    var(--tinta);
  color: #fff;
}

.contato-dentro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.contato .rotulo {
  color: #9fb4ff;
}

.contato h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
}

.contato .introducao {
  margin-top: 16px;
  color: #c3cde0;
  font-size: 18px;
}

.contato .acoes {
  margin-top: 30px;
}

.canais {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 28px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.05);
}

.canais div {
  display: grid;
  gap: 2px;
  padding: 18px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.canais div:last-child {
  border-bottom: 0;
}

.canais dt {
  color: #9fb0cc;
  font-size: 14px;
  font-weight: 600;
}

.canais dd {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.canais a {
  color: #fff;
  text-decoration: none;
}

.canais a:hover {
  text-decoration: underline;
}

/* Rodapé */

.rodape {
  padding: 56px 0 40px;
  background: #07111f;
  color: #aab6cc;
  font-size: 15px;
}

.rodape-topo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.rodape .marca {
  color: #fff;
}

.rodape-sobre {
  max-width: 360px;
  margin-top: 14px;
}

.rodape nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.rodape nav strong {
  color: #fff;
  font-size: 14px;
}

.rodape-colunas {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

.rodape a {
  color: #aab6cc;
  text-decoration: none;
}

.rodape a:hover {
  color: #fff;
}

.rodape-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 14px;
}

.rodape-base strong {
  color: #fff;
  font-weight: 650;
}

/* Termos e privacidade */

.documento {
  padding: 64px 0 96px;
}

.documento-cabeca {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--borda);
  background: var(--fundo-suave);
}

.documento-cabeca h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 800;
}

.documento-cabeca p {
  margin-top: 12px;
  color: var(--apagado);
}

.trilha {
  margin-bottom: 18px;
  color: var(--apagado);
  font-size: 14px;
}

.trilha a {
  color: var(--apagado);
}

.texto-legal {
  max-width: 760px;
}

.texto-legal h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 750;
}

.texto-legal h2:first-child {
  margin-top: 0;
}

.texto-legal p,
.texto-legal li {
  color: var(--tinta-suave);
}

.texto-legal p + p {
  margin-top: 12px;
}

.texto-legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.texto-legal li + li {
  margin-top: 6px;
}

/* Página não encontrada */

.nao-encontrada {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 64px 0;
  text-align: center;
}

.nao-encontrada h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
}

.nao-encontrada p {
  margin: 12px 0 28px;
  color: var(--apagado);
}

/* Celular e tablet */

@media (max-width: 960px) {
  .abertura-dentro,
  .quem-somos,
  .contato-dentro {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .cartoes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .passos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .menu {
    display: none;
  }

  .topo-dentro {
    justify-content: space-between;
    min-height: 64px;
  }

  .marca {
    font-size: 21px;
  }

  .marca img {
    width: 32px;
    height: 32px;
  }

  .abertura {
    padding: 48px 0 64px;
  }

  /* No celular a etiqueta pode quebrar em duas linhas: vira texto simples, sem a moldura. */
  .selo {
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    line-height: 1.5;
  }

  .selo::before {
    margin-top: 6px;
  }

  .abertura .resumo {
    font-size: 17px;
  }

  .acoes .botao {
    flex: 1 1 100%;
  }

  .quadro {
    padding: 20px;
  }

  .secao,
  .contato {
    padding: 64px 0;
  }

  .cartoes,
  .passos,
  .frentes {
    grid-template-columns: minmax(0, 1fr);
  }

  .cartoes {
    margin-top: 32px;
    gap: 14px;
  }

  .cartao {
    padding: 22px;
  }

  .passos {
    margin-top: 32px;
    row-gap: 26px;
  }

  .canais {
    padding: 4px 20px;
  }

  .rodape-colunas {
    gap: 32px;
  }

  .documento {
    padding: 40px 0 64px;
  }

  .documento-cabeca {
    padding: 36px 0 28px;
  }
}

/* Palavra com hífen que não deve quebrar no fim da linha (e-mail). */
.junto {
  white-space: nowrap;
}
