:root {
  --azul-escuro: #1c3f71;
  --azul-claro: #2d82d2;
  --verde: #47a048;
  --amarelo: #f4b324;
  --vermelho: #d92534;
  --branco: #ffffff;
  --cinza-claro: #f4f7fb;
  --texto: #25303f;
  --texto-suave: #5b6675;
  --borda: #e3e9f1;
  --sombra: 0 8px 30px rgba(28, 63, 113, 0.10);
  --raio: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--texto);
  line-height: 1.6;
  background: var(--branco);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primario {
  background: var(--verde);
  color: var(--branco);
  box-shadow: 0 6px 16px rgba(71, 160, 72, 0.35);
}

.btn-primario:hover {
  background: #3d8c3e;
}

.btn-azul {
  background: var(--azul-claro);
  color: var(--branco);
  box-shadow: 0 6px 16px rgba(45, 130, 210, 0.35);
}

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

.btn-contorno {
  background: transparent;
  color: var(--azul-escuro);
  border: 2px solid var(--azul-escuro);
}

.btn-contorno:hover {
  background: var(--azul-escuro);
  color: var(--branco);
}

.btn-amarelo {
  background: var(--amarelo);
  color: var(--azul-escuro);
  box-shadow: 0 6px 16px rgba(244, 179, 36, 0.35);
}

.cabecalho {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
  box-shadow: 0 2px 12px rgba(28, 63, 113, 0.08);
}

.cabecalho-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--azul-escuro);
  padding-block: 0.4rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--verde);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a.ativo::after {
  width: 100%;
}

.nav a.ativo {
  color: var(--azul-escuro);
}

.botao-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.botao-menu span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--azul-escuro);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

.hero {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-claro) 100%);
  color: var(--branco);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(71, 160, 72, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  left: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(244, 179, 36, 0.18);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--amarelo);
}

.hero p {
  font-size: 1.08rem;
  color: #dbe7f5;
  margin-bottom: 1.8rem;
  max-width: 540px;
}

.hero-acoes {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-cartao {
  background: var(--branco);
  color: var(--texto);
  border-radius: var(--raio);
  padding: 1.6rem;
  box-shadow: var(--sombra);
  text-align: center;
}

.hero-cartao strong {
  display: block;
  font-size: 2.2rem;
  color: var(--azul-escuro);
}

.hero-cartao span {
  color: var(--texto-suave);
  font-size: 0.9rem;
}

.secao {
  padding: 4rem 0;
}

.secao-cinza {
  background: var(--cinza-claro);
}

.secao-titulo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.secao-titulo h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--azul-escuro);
  margin-bottom: 0.5rem;
}

.secao-titulo p {
  color: var(--texto-suave);
  max-width: 640px;
  margin-inline: auto;
}

.linha {
  width: 64px;
  height: 4px;
  background: var(--verde);
  border-radius: 2px;
  margin: 0.7rem auto 0;
}

.grade {
  display: grid;
  gap: 1.4rem;
}

.grade-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.cartao {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 1.6rem;
  box-shadow: var(--sombra);
  transition: transform 0.2s ease;
}

.cartao:hover {
  transform: translateY(-4px);
}

.cartao .icone {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.icone-azul { background: #e3f0fb; color: var(--azul-claro); }
.icone-verde { background: #e7f4e7; color: var(--verde); }
.icone-amarelo { background: #fdf3dc; color: #c98a0a; }
.icone-vermelho { background: #fbe6e8; color: var(--vermelho); }

.cartao h3 {
  color: var(--azul-escuro);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cartao p {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.lista-valores li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--borda);
  color: var(--texto-suave);
}

.lista-valores li:last-child {
  border-bottom: none;
}

.lista-valores li::before {
  content: "✓";
  color: var(--verde);
  font-weight: 700;
}

.lista-acoes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.lista-acoes li {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 500;
}

.lista-acoes li::before {
  content: "•";
  color: var(--verde);
  font-size: 1.5rem;
  line-height: 1;
}

.pagina-hero {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-claro) 100%);
  color: var(--branco);
  padding: 3rem 0;
}

.pagina-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

.pagina-hero p {
  color: #dbe7f5;
  max-width: 640px;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: var(--amarelo);
}

.sobre-bloco {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sobre-bloco h2 {
  color: var(--azul-escuro);
  margin-bottom: 1rem;
}

.sobre-bloco p {
  color: var(--texto-suave);
  margin-bottom: 1rem;
}

.caixa {
  background: var(--branco);
  border-left: 5px solid var(--verde);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--sombra);
  margin-bottom: 1.4rem;
}

.caixa-azul { border-left-color: var(--azul-claro); }
.caixa-amarela { border-left-color: var(--amarelo); }

.caixa h3 {
  color: var(--azul-escuro);
  margin-bottom: 0.4rem;
}

.caixa p {
  color: var(--texto-suave);
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  background: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.tabela th,
.tabela td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--borda);
}

.tabela th {
  background: var(--azul-escuro);
  color: var(--branco);
  font-weight: 600;
}

.tabela tr:last-child td {
  border-bottom: none;
}

.tabela td:first-child {
  font-weight: 600;
  color: var(--azul-escuro);
}

.formulario {
  display: grid;
  gap: 1rem;
}

.campo label {
  display: block;
  font-weight: 600;
  color: var(--azul-escuro);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.campo input,
.campo textarea,
.campo select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--borda);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--texto);
  background: var(--branco);
}

.campo input:focus,
.campo textarea:focus,
.campo select:focus {
  outline: 2px solid var(--azul-claro);
  border-color: var(--azul-claro);
}

.contato-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--borda);
}

.contato-item:last-child {
  border-bottom: none;
}

.contato-item .icone {
  flex-shrink: 0;
  margin-bottom: 0;
}

.contato-item strong {
  color: var(--azul-escuro);
  display: block;
}

.contato-item a,
.contato-item p {
  color: var(--texto-suave);
}

.rodape {
  background: var(--verde);
  color: #eaf5ea;
  padding: 3rem 0 1.5rem;
}

.rodape-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.rodape img {
  height: 84px;
  margin-bottom: 0.8rem;
}

.rodape h4 {
  color: var(--branco);
  margin-bottom: 0.9rem;
}

.rodape a:hover {
  color: var(--branco);
  text-decoration: underline;
}

.rodape ul li {
  margin-bottom: 0.5rem;
}

.rodape .social {
  display: flex;
  gap: 0.6rem;
}

.rodape .social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.rodape .social a:hover {
  background: var(--azul-escuro);
  color: var(--branco);
}

.rodape-base {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
}

.aviso {
  background: #fdf3dc;
  color: #8a6407;
  border: 1px solid #f3e2b3;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.voltar-topo {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(71, 160, 72, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.voltar-topo.visivel {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .hero .container,
  .sobre-bloco,
  .rodape-inner {
    grid-template-columns: 1fr;
  }

  .grade-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .botao-menu {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 4%;
    box-shadow: 0 12px 24px rgba(28, 63, 113, 0.12);
    display: none;
  }

  .nav.aberto {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--borda);
  }

  .nav a::after {
    display: none;
  }

  .nav a.ativo {
    color: var(--verde);
  }
}

@media (max-width: 620px) {
  .grade-3,
  .grade-2,
  .lista-acoes {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0;
  }

  .secao {
    padding: 2.5rem 0;
  }
}
