/* Guaravá -- site institucional (cores de docs/styles.md). */
:root {
  --primaria: #e32636;
  --secundaria: #1a1a1a;
  --fundo: #ffffff;
  --superficie: #f4f4f3;
  --texto: #1e1e1c;
  --texto-secundario: #5f5e5a;
  --borda: #e4e3df;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--primaria); }

.topo {
  background: var(--secundaria);
  color: #fff;
}

.topo .conteudo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.topo a.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

.topo img { width: 36px; height: 36px; border-radius: 8px; }

.topo nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
.topo nav a { color: #fff; opacity: 0.85; text-decoration: none; font-size: 14px; }
.topo nav a:hover { opacity: 1; text-decoration: underline; }

.conteudo {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

main.conteudo { padding-top: 32px; padding-bottom: 48px; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }

.atualizado { color: var(--texto-secundario); font-size: 14px; margin: 0 0 24px; }

.destaque {
  background: var(--superficie);
  border-left: 4px solid var(--primaria);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
}

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--borda); }
th { background: var(--superficie); }

.tabela { overflow-x: auto; }

/* Página inicial (layout em assets/guarava_site.pdf) */
.inicio { font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.inicio h1, .inicio h2, .inicio h3 { margin: 0; }
.largura { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.estreita > * { max-width: 820px; }

.barra { background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 var(--borda); }
.barra-conteudo { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.barra-logo img { display: block; height: 64px; width: auto; }
.barra-menu { display: flex; gap: 20px; }
.barra-menu a { color: var(--texto); text-decoration: none; font-size: 18px; }
.barra-menu a:hover { color: var(--primaria); }

.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 40px; border-radius: 14px;
  font-size: 18px; font-weight: 500; text-decoration: none;
}
.botao-branco { background: #fff; color: var(--primaria); min-width: 260px; min-height: 76px; }
.botao-vermelho { background: var(--primaria); color: #fff; min-height: 62px; min-width: 210px; }
.botao-pequeno { min-height: 40px; min-width: 0; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 400; }
.botao:hover { filter: brightness(0.95); }

.heroi { display: grid; grid-template-columns: 1fr 1fr; background: var(--primaria); color: #fff; min-height: 560px; }
.heroi-foto { overflow: hidden; border-radius: 0 200px 200px 0; background: #f2f2f2; }
.heroi-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.heroi-texto { align-self: center; padding: 48px 40px 48px 56px; max-width: 640px; }
.heroi h1 strong:last-child { white-space: nowrap; }
.heroi h1 { font-size: 64px; line-height: 1.15; font-weight: 400; letter-spacing: -0.5px; }
.heroi h1 strong { font-weight: 700; }
.heroi p { font-size: 22px; line-height: 1.45; margin: 48px 0 64px; }

.secao { padding: 48px 0 64px; }
.secao-cinza { background: #f3f6f6; }
.titulo { color: var(--primaria); font-size: 48px; line-height: 1.25; font-weight: 700; margin-bottom: 40px !important; max-width: 860px; }

.cartoes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; }
.cartao {
  display: flex; align-items: center; gap: 8px; background: #f6f6f6;
  border-radius: 12px; padding: 20px 4px 12px 16px; min-height: 180px;
}
.cartao-texto { flex: 1; }
.cartao h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cartao p { font-size: 15px; line-height: 1.3; margin: 16px 0 16px; }
.cartao img { width: 150px; height: auto; flex-shrink: 0; }
.selo { background: var(--primaria); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }

.passe { display: grid; grid-template-columns: 1fr minmax(0, 460px); background: var(--primaria); color: #fff; margin: 48px 0; }
.passe-texto { align-self: center; padding: 40px 16px 40px max(16px, calc((100vw - 1100px) / 2 + 16px)); max-width: 820px; }
.passe h2 { font-size: 52px; font-weight: 700; }
.passe p { font-size: 25px; line-height: 1.3; margin: 8px 0 0; max-width: 460px; }
.passe .botao { margin-top: 24px; min-height: 62px; min-width: 216px; }
.passe-imagem img { display: block; width: 100%; height: 100%; object-fit: cover; }

.seguranca { display: grid; grid-template-columns: minmax(0, 546px) 1fr; gap: 36px; align-items: start; }
.seguranca img { width: 100%; height: auto; display: block; }
.seguranca p { font-size: 32px; line-height: 1.3; margin: 0 0 36px; }

.cidades { display: flex; flex-wrap: wrap; gap: 12px; }
.nota { color: var(--texto-secundario); margin: 16px 0 0; }

#ajuda .titulo, #sobre .titulo { margin-bottom: 24px !important; }
.grupo { font-size: 20px; margin: 32px 0 8px !important; }
details { border-bottom: 1px solid var(--borda); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { margin: 8px 0 0; color: var(--texto-secundario); }
.contato { margin-top: 32px; }
.sobre-lema {
  margin: 0 0 24px; padding: 14px 20px; border-left: 4px solid var(--primaria);
  background: #fff; font-size: 20px; font-weight: 700; color: var(--texto);
}
.sobre-texto p { font-size: 18px; line-height: 1.6; margin: 0 0 16px; }
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.pilar { background: #fff; border-top: 4px solid var(--primaria); border-radius: 8px; padding: 20px; }
.pilar h3 { font-size: 18px; font-weight: 700; color: var(--primaria); margin: 0 0 8px; }
.pilar p { margin: 0; color: var(--texto-secundario); font-size: 15px; line-height: 1.5; }

.rodape-inicio { background: var(--primaria); color: #fff; padding: 32px 0 24px; }
.rodape-grade { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.rodape-logo { width: 150px; height: auto; display: block; }
.rodape-baixar { margin: 28px 0 0; font-size: 14px; }
.rodape-breve { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.rodape-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rodape-links a { color: #fff; }
.rodape-fim { margin-top: 32px; font-size: 13px; opacity: 0.85; }

@media (max-width: 1023px) {
  .heroi h1 { font-size: 52px; }
  .heroi-texto { padding: 40px 32px; }
  .titulo { font-size: 38px; }
  .seguranca p { font-size: 24px; }
  .passe h2 { font-size: 42px; }
  .passe p { font-size: 21px; }
}

@media (max-width: 767px) {
  .barra-conteudo { height: auto; padding-top: 10px; padding-bottom: 10px; flex-direction: column; gap: 6px; }
  .barra-logo img { height: 44px; }
  .barra-menu { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .barra-menu a { font-size: 15px; }
  .heroi { grid-template-columns: 1fr; min-height: 0; }
  .heroi-foto { border-radius: 0 0 120px 0; height: 340px; }
  .heroi-texto { padding: 32px 16px 40px; }
  .heroi h1 { font-size: 40px; }
  .heroi p { font-size: 18px; margin: 24px 0 32px; }
  .botao-branco { min-width: 0; width: 100%; min-height: 60px; }
  .secao { padding: 36px 0 44px; }
  .titulo { font-size: 30px; margin-bottom: 24px !important; }
  .cartoes { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: 1fr; }
  .sobre-texto p { font-size: 17px; }
  .cartao img { width: 120px; }
  .passe { grid-template-columns: 1fr; }
  .passe-texto { padding: 32px 16px; }
  .passe h2 { font-size: 36px; }
  .passe p { font-size: 19px; }
  .seguranca { grid-template-columns: 1fr; gap: 24px; }
  .seguranca p { font-size: 20px; margin-bottom: 24px; }
  .botao-vermelho { width: 100%; }
  .cidades .botao-vermelho { width: auto; }
  .botao-pequeno { width: auto; }
}

.rodape {
  border-top: 1px solid var(--borda);
  color: var(--texto-secundario);
  font-size: 14px;
}

.rodape .conteudo { padding-top: 20px; padding-bottom: 28px; }
.rodape a { color: var(--texto-secundario); }
