/* Brava Segurança Digital — folha de estilo única, sem dependências externas */

@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
}

:root {
  --petroleo: #0f3d47;
  --petroleo-2: #17606e;
  --mar: #1f7a8c;
  --espuma: #8fc3c9;
  --ceu: #cfe6e8;
  --fundo: #eef5f4;
  --branco: #ffffff;
  --texto: #2e4a50;
  --amarelo: #f2c230;
  --verde: #2e8b4e;
  --vermelho: #d9483b;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --corpo: "Manrope", "Segoe UI", Arial, sans-serif;
  --largura: 1160px;
  --raio: 16px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--corpo);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  color: var(--petroleo);
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-family: var(--corpo); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
p { margin: 0; }

a { color: var(--petroleo-2); text-underline-offset: 3px; }
a:hover { color: var(--petroleo); }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 4px; }

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

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--amarelo); color: var(--petroleo);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.pular:focus { top: 12px; }

.rotulo {
  display: block;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--petroleo-2);
  margin-bottom: 16px;
}

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--corpo); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.botao--principal { background: var(--amarelo); color: var(--petroleo); }
.botao--principal:hover { background: #e3b220; color: var(--petroleo); }
.botao--contorno { border-color: var(--petroleo); color: var(--petroleo); }
.botao--contorno:hover { background: var(--petroleo); color: var(--fundo); }
.botao--claro { border-color: var(--ceu); color: var(--fundo); }
.botao--claro:hover { background: var(--fundo); color: var(--petroleo); }

/* Cabeçalho */
.topo { background: var(--fundo); border-bottom: 1px solid #d6e6e5; }
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.topo__logo img { width: 190px; }
.topo__nav { display: flex; align-items: center; gap: 28px; }
.topo__nav a:not(.botao) { color: var(--petroleo); font-weight: 700; font-size: 0.98rem; text-decoration: none; }
.topo__nav a:not(.botao):hover { color: var(--mar); }
.topo__nav .botao { min-height: 44px; padding: 0 20px; }

/* Abertura */
.abertura { padding: 88px 0 96px; }
.abertura__grade { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.abertura__texto { display: flex; flex-direction: column; gap: 26px; }
.abertura__texto p { font-size: 1.2rem; max-width: 600px; }
.abertura__acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.abertura__simbolo { justify-self: center; width: min(100%, 340px); }

/* Faixa escura: o problema */
.faixa { background: var(--petroleo); color: var(--ceu); padding: 88px 0; }
.faixa h2 { color: var(--fundo); max-width: 760px; }
.faixa .rotulo { color: var(--amarelo); }
.faixa__intro { margin-top: 22px; max-width: 720px; font-size: 1.15rem; }
.faixa__lista {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.faixa__lista li {
  border: 1px solid #2c5f6a; border-radius: var(--raio); padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.faixa__lista strong { color: var(--fundo); font-size: 1.15rem; }

/* Seções claras */
.secao { padding: 96px 0; }
.secao--branca { background: var(--branco); }
.secao__topo { max-width: 760px; margin-bottom: 52px; }
.secao__topo p { margin-top: 18px; font-size: 1.15rem; }

/* Serviços */
.servicos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.servico {
  background: var(--fundo); border-radius: var(--raio); padding: 34px;
  display: flex; flex-direction: column; gap: 14px;
}
.servico__icone {
  width: 56px; height: 56px; border-radius: 14px; background: var(--petroleo); color: var(--amarelo);
  display: flex; align-items: center; justify-content: center;
}
.servico__icone svg { width: 28px; height: 28px; }

/* Como trabalhamos */
.passos {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: passo;
}
.passo {
  counter-increment: passo; background: var(--branco); border-radius: var(--raio); padding: 34px;
  display: flex; flex-direction: column; gap: 12px; border: 1px solid #d6e6e5;
}
.passo::before {
  content: "0" counter(passo);
  font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--mar);
}

/* História */
.historia { background: var(--petroleo); color: var(--ceu); }
.historia__imagem { width: 100%; background: var(--ceu); }
.historia__imagem img { width: 100%; height: clamp(240px, 38vw, 560px); object-fit: cover; object-position: center 62%; }
.historia__texto { padding: 80px 0 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.historia__texto h2 { color: var(--fundo); }
.historia__texto .rotulo { color: var(--amarelo); }
.historia__colunas { display: flex; flex-direction: column; gap: 20px; font-size: 1.12rem; }

/* Área de atendimento */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cidades { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cidades li {
  background: var(--fundo); color: var(--petroleo); font-weight: 700; border-radius: 999px; padding: 8px 18px;
}

/* Contato */
.contato { background: var(--petroleo); color: var(--ceu); padding: 96px 0; }
.contato__grade { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.contato h2 { color: var(--fundo); }
.contato .rotulo { color: var(--amarelo); }
.contato__texto { display: flex; flex-direction: column; gap: 20px; font-size: 1.15rem; }
.contato__canais { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contato__canais a {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid #2c5f6a; border-radius: var(--raio); padding: 18px 22px; text-decoration: none;
}
.contato__canais a:hover { border-color: var(--espuma); background: #134854; }
.contato__canais span { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--espuma); }
.contato__canais strong { color: var(--fundo); font-size: 1.15rem; word-break: break-word; }
.contato__canais .destaque strong { color: var(--amarelo); }

/* Rodapé */
.rodape { background: #0b2f37; color: var(--espuma); padding: 48px 0; font-size: 0.95rem; }
.rodape__grade { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.rodape__logo img { width: 170px; }
.rodape__info { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.rodape a { color: var(--ceu); }
.rodape a:hover { color: var(--fundo); }

/* Página 404 */
.erro { min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.erro__conteudo { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.erro__codigo { font-family: var(--display); font-weight: 800; font-size: 6rem; line-height: 1; color: var(--mar); }

/* Responsivo */
@media (max-width: 960px) {
  .abertura__grade, .historia__texto, .area, .contato__grade { grid-template-columns: 1fr; }
  .abertura__simbolo { grid-row: 1; width: 180px; justify-self: start; }
  .faixa__lista, .passos { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .topo__nav a:not(.botao) { display: none; }
  .topo__logo img { width: 140px; }
  .topo__nav .botao { white-space: nowrap; font-size: 0.9rem; padding: 0 16px; }
  .servicos { grid-template-columns: 1fr; }
  .abertura, .faixa, .secao, .contato { padding: 64px 0; }
  .historia__texto { padding: 56px 0 64px; }
  .servico, .passo { padding: 26px; }
  .rodape__info { text-align: left; }
}
