/* Xplorer Soluções Digitais — direção B "Voo Xplorer" (P3b, versão final).
   Fontes próprias (OFL 1.1), servidas do próprio site: Fraunces 600/700 (títulos, romano e
   itálico) + Work Sans 400/500/600 (corpo). Nenhuma chamada ao CDN de fontes do Google.
   Paleta em tokens no :root (nenhuma cor solta no resto do arquivo, exceto dentro do SVG
   inline em index.html — fora deste arquivo): navy #10263B (texto) · #0066C0 (acento) ·
   #00C4FE (só stroke/fill de SVG) · #C01A1D (selo pequeno) · zebra #F3F6FA. Sem gradiente,
   sem sombra. Os dois botões de WhatsApp usam o MESMO desenho (botao--navy). */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-titulo.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italico.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("/fonts/work-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --fonte-titulo: "Fraunces", ui-serif, serif;
  --fonte-corpo: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --navy: #10263B;
  --navy-hover: #1C3A57;
  --texto: #33465B;
  --azul: #0066C0;
  --azul-escuro: #004E93;
  --vermelho: #C01A1D;
  --zebra: #F3F6FA;
  --branco: #FFFFFF;
  --filete: #DCE3EC;
}

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

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

body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.faixa {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- link "pular para o conteúdo" ---------- */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-200%);
  transition: transform 0.18s ease;
}

.skip-link:focus-visible {
  transform: none;
  /* contorno herdado de a:focus-visible (navy) — contra o fundo branco da página ao redor
     do link (o offset fica fora da própria caixa navy do link), não contra o próprio navy. */
}

/* ---------- hero ---------- */
.hero {
  background: var(--branco);
  padding: 52px 0 44px;
  text-align: center;
}

.hero__logo {
  display: block;
  width: 220px;
  height: auto;
  aspect-ratio: 220 / 101;
  margin: 0 auto;
}

.hero__selo {
  display: block;
  width: 10px;
  height: 10px;
  margin: 26px auto 22px;
  background: var(--vermelho);
  border-radius: 1px;
  transform: rotate(45deg);
}

.hero__titulo {
  margin: 0 auto;
  max-width: 11em;
  color: var(--navy);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(34px, 7.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__frase {
  margin: 22px auto 0;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.62;
  text-wrap: pretty;
}

/* ---------- traço do voo (decorativo, opacidade 10%) ---------- */
.voo {
  opacity: 0.1;
}

.voo__traco {
  display: block;
  width: 100%;
  height: 44px;
}

/* ---------- títulos de seção ---------- */
.secao__titulo {
  margin: 0;
  color: var(--navy);
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: clamp(27px, 5.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- ritmo vertical comum (servicos / como-trabalhamos / contato) ---------- */
.servicos,
.como-trabalhamos,
.contato {
  padding: 64px 0;
}

/* ---------- serviços (zebra) ---------- */
.servicos {
  background: var(--zebra);
}

.servicos__lista {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.servico {
  padding: 19px 0;
}

.servico__nome {
  margin: 0;
  color: var(--navy);
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  text-wrap: balance;
}

.servico__frase {
  margin: 6px 0 0;
  max-width: 30em;
  font-size: 16px;
  line-height: 1.58;
  text-wrap: balance;
}

/* ---------- como trabalhamos (branco, itálico serifado) ---------- */
.como-trabalhamos {
  background: var(--branco);
}

.como-trabalhamos__texto {
  margin: 24px 0 0;
  max-width: 17em;
  color: var(--navy);
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(20px, 4.2vw, 25px);
  line-height: 1.46;
  text-wrap: pretty;
}

/* ---------- contato (zebra) ---------- */
.contato {
  background: var(--zebra);
}

.contato__frase {
  margin: 20px 0 0;
  max-width: 30em;
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.contato__dados {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contato__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--azul);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease;
}

.contato__link:hover {
  color: var(--azul-escuro);
}

.contato__cidade {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 16px;
}

/* ---------- botões (mesmo desenho nos dois "Chamar no WhatsApp") ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 28px 0 0;
  padding: 12px 28px;
  border-radius: 10px;
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.botao--navy {
  background: var(--navy);
}

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

/* ---------- rodapé ---------- */
.rodape {
  background: var(--branco);
  border-top: 1px solid var(--filete);
  padding: 42px 0 54px;
}

.rodape__citacao {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.rodape__copyright {
  margin: 18px 0 0;
  font-size: 14px;
  text-wrap: pretty;
}

.rodape__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--azul);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease;
}

.rodape__link:hover {
  color: var(--azul-escuro);
}

/* ---------- foco visível ---------- */
a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- telas maiores ---------- */
@media (min-width: 720px) {
  body {
    font-size: 18px;
  }

  .hero {
    padding: 72px 0 52px;
  }

  .servicos,
  .como-trabalhamos,
  .contato {
    padding: 88px 0;
  }

  .servico {
    padding: 22px 0;
  }

  .como-trabalhamos__texto {
    max-width: 19.5em;
  }
}
