:root {
  --azul-escuro: #1f2858;
  --azul-principal: #002b5c;
  --azul-claro: #e6f1fc;
  --azul-suave: #f5f9ff;
  --vermelho: #d70b1a;
  --vermelho-escuro: #8c1822;
  --branco: #ffffff;
  --texto: #202020;
  --texto-suave: #555d6d;
  --borda: #e5e9f0;
  --fundo-copy: #f2e9e9;

  --largura-container: 1320px;
  --espaco-lateral: 28px;
  --raio: 12px;
  --sombra: 0 16px 40px rgba(20, 40, 80, 0.12);
}

/* CONFIGURAÇÕES GERAIS */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Sora", sans-serif;
  color: var(--texto);
  background-color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 11, 26, 0.35);
  outline-offset: 4px;
}

.container,
.ajuda-container,
.rodape-container {
  width: min(
    calc(100% - (var(--espaco-lateral) * 2)),
    var(--largura-container)
  );
  margin-left: auto;
  margin-right: auto;
}

/* TOPO AZUL */

.topbar {
  min-height: 42px;
  padding: 8px max(
    var(--espaco-lateral),
    calc((100vw - var(--largura-container)) / 2)
  );

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background-color: var(--azul-escuro);
  color: var(--branco);

  font-size: 0.88rem;
  font-weight: 500;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-left .nome-associacao {
  margin: 0;
  letter-spacing: 0.3px;
}

.topbar-right {
  gap: 15px;
  margin: 0;
}

.topbar-right a {
  width: 24px;
  height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  color: var(--branco);
  text-decoration: none;

  transition: transform 0.25s ease, opacity 0.25s ease;
}

.topbar-right a:hover {
  color: var(--branco);
  opacity: 0.78;
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* CABEÇALHO */

header {
  position: relative;
  z-index: 100;
  background-color: var(--branco);
  border-bottom: 1px solid var(--borda);
}

header .container {
  min-height: 112px;
  padding: 14px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

header .logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

header .logo a {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 225px;
  height: auto;
  object-fit: contain;
  display: block;
}

header nav {
  min-width: 0;
}

header nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 2.35vw, 44px);

  margin: 0;
  padding: 0;
  list-style: none;

  font-size: 1rem;
}

header nav ul li {
  flex: 0 0 auto;
}

header nav ul li a {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding: 10px 0;

  color: var(--azul-escuro);
  text-decoration: none;
  white-space: nowrap;

  font-weight: 500;
  line-height: 1.2;

  transition: color 0.25s ease;
}

header nav ul li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;

  height: 3px;
  border-radius: 999px;
  background-color: var(--vermelho-escuro);

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: var(--vermelho-escuro);
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
  transform: scaleX(1);
}

/* TÍTULO DA PÁGINA */

#titulo-comoajudar {
  min-height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px var(--espaco-lateral);
  margin: 0;

  background: linear-gradient(
    90deg,
    #1f2858 0%,
    #002b5c 52%,
    #8c1822 78%
  );

  color: #ffffff;
  text-align: center;
}

#titulo-comoajudar h1 {
  width: 100%;
  margin: 0;
  padding: 0;

  color: #ffffff;
  text-align: center;

  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.2;
  font-weight: 800;
}

/* INTRODUÇÃO */

.intro-ajuda {
  padding: 70px 0 76px;
  background-color: var(--branco);
}

.intro-ajuda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 48px;
}

.detalhe-vermelho {
  display: block;
  width: 55px;
  height: 3px;
  margin-bottom: 14px;

  background-color: var(--vermelho-escuro);
  border-radius: 999px;
}

.detalhe-centro {
  margin-left: auto;
  margin-right: auto;
}

.intro-ajuda-texto h2,
.secao-topo h2,
.chamada-card h2 {
  margin: 0 0 16px;

  color: var(--azul-escuro);

  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  line-height: 1.14;
  font-weight: 800;
}

.intro-ajuda-texto p,
.secao-topo p,
.chamada-card p {
  max-width: 850px;
  margin: 0 0 16px;

  color: var(--texto);
  font-size: 1rem;
  line-height: 1.7;
}

.intro-ajuda-texto p:last-child {
  margin-bottom: 0;
}

/* PIX CARD */

.pix-card {
  padding: 32px 28px;

  background:
    linear-gradient(180deg, rgba(230, 241, 252, 1) 0%, rgba(255, 255, 255, 1) 100%);

  border: 1px solid rgba(0, 43, 92, 0.09);
  border-radius: 20px;

  box-shadow: var(--sombra);
}

.pix-icone {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--branco);
  color: var(--vermelho);

  border-radius: 50%;

  font-size: 1.55rem;
}

.pix-label {
  display: inline-flex;
  margin-bottom: 10px;

  color: var(--vermelho-escuro);

  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pix-card h3 {
  margin: 0 0 8px;

  color: var(--azul-escuro);

  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
}

.pix-descricao {
  margin: 0 0 16px;

  color: var(--texto-suave);
  font-size: 0.94rem;
  line-height: 1.55;
}

.pix-chave {
  margin-bottom: 18px;
  padding: 14px 16px;

  background-color: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 12px;
}

.pix-chave span {
  display: block;

  color: var(--azul-principal);

  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.btn-copiar-pix {
  width: 100%;

  padding: 13px 16px;

  border: none;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  background-color: var(--vermelho);
  color: var(--branco);

  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;

  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn-copiar-pix:hover {
  background-color: var(--vermelho-escuro);
  transform: translateY(-2px);
}

.btn-copiar-pix.copiado {
  background-color: #256b43;
}

/* FORMAS DE AJUDA */

.formas-ajuda {
  padding: 74px 0 82px;
  background-color: #f7f9fa;
}

.secao-topo {
  margin-bottom: 38px;
}

.secao-topo.centralizado {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.formas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.forma-card {
  min-height: 310px;
  padding: 28px 22px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background-color: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 18px;

  box-shadow: 0 10px 24px rgba(20, 40, 80, 0.07);

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.forma-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 43, 92, 0.18);
  box-shadow: var(--sombra);
}

.forma-icone {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--azul-claro);
  color: var(--azul-principal);

  border-radius: 50%;

  font-size: 1.85rem;
}

.forma-card:nth-child(1) .forma-icone,
.forma-card:nth-child(3) .forma-icone,
.forma-card:nth-child(5) .forma-icone {
  color: var(--vermelho-escuro);
}

.forma-card h3 {
  margin: 0 0 12px;

  color: var(--azul-escuro);

  font-size: 1.08rem;
  line-height: 1.28;
  font-weight: 800;
}

.forma-card p {
  margin: 0 0 20px;

  color: var(--texto-suave);
  font-size: 0.9rem;
  line-height: 1.6;
}

.link-card {
  margin-top: auto;

  border: none;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: transparent;
  color: var(--vermelho);

  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;

  cursor: pointer;
  transition: color 0.25s ease, gap 0.25s ease;
}

.link-card:hover {
  color: var(--vermelho-escuro);
  gap: 11px;
}

/* ORIENTAÇÃO */

.orientacao-ajuda {
  padding: 72px 0;
  background-color: var(--branco);
}

.orientacao-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.orientacao-card,
.contato-ajuda-card {
  padding: 32px;

  background-color: var(--azul-claro);
  border-radius: 20px;
  border: 1px solid rgba(0, 43, 92, 0.08);
}

.orientacao-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: flex-start;
}

.orientacao-card > i {
  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--branco);
  color: var(--vermelho-escuro);

  border-radius: 50%;

  font-size: 1.45rem;
}

.orientacao-card h3,
.contato-ajuda-card h3 {
  margin: 0 0 10px;

  color: var(--azul-escuro);

  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
}

.orientacao-card p,
.contato-ajuda-card p {
  margin: 0;

  color: var(--texto);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contato-links {
  margin-top: 20px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--azul-principal);
  text-decoration: none;

  font-size: 0.94rem;
  font-weight: 700;

  transition: color 0.25s ease;
}

.contato-links a:hover {
  color: var(--vermelho-escuro);
}

.contato-links i {
  color: var(--vermelho-escuro);
}

/* CHAMADA FINAL */

.chamada-ajuda {
  padding: 0 0 78px;
  background-color: var(--branco);
}

.chamada-card {
  padding: 36px 42px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;

  background:
    linear-gradient(135deg, rgba(0, 43, 92, 0.98), rgba(31, 40, 88, 0.95));

  border-radius: 20px;

  box-shadow: var(--sombra);
}

.chamada-card h2 {
  color: var(--branco);
}

.chamada-card p {
  max-width: 720px;
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.9);
}

.btn-chamada {
  padding: 14px 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: var(--vermelho);
  color: var(--branco);

  border-radius: 12px;

  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 800;

  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn-chamada:hover {
  background-color: var(--vermelho-escuro);
  transform: translateY(-2px);
}

/* RODAPÉ */

.rodape {
  background-color: var(--azul-claro);
  color: var(--azul-escuro);
}

.rodape-container {
  padding: 48px 0;

  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1.5fr;
  align-items: start;
  gap: clamp(35px, 4vw, 60px);
}

.rodape-logo img {
  width: 250px;
  height: auto;
  display: block;
}

.rodape-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.rodape-menu a {
  color: var(--azul-escuro);
  text-decoration: none;

  font-size: 0.96rem;
  font-weight: 500;

  transition: color 0.25s ease;
}

.rodape-menu a:hover {
  color: var(--vermelho-escuro);
}

.rodape-contato h3 {
  margin: 0 0 12px;

  color: var(--azul-escuro);

  font-size: 1.1rem;
  font-weight: 800;
}

.rodape-contato p {
  margin: 5px 0;

  color: var(--texto);

  font-size: 0.88rem;
  line-height: 1.55;
}

.rodape-copy {
  padding: 12px var(--espaco-lateral);
  background-color: var(--azul-principal);
  text-align: center;
}

.rodape-copy p {
  margin: 0;

  color: var(--branco);

  font-size: 0.82rem;
  line-height: 1.5;
}

.rodape-copy a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 700;
}

.rodape-copy a:hover {
  text-decoration: underline;
}

/* ANIMAÇÕES */

.animar-entrada {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animar-entrada.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */

@media (max-width: 1180px) {
  header .container {
    gap: 30px;
  }

  header nav ul {
    gap: 22px;
    font-size: 0.9rem;
  }

  .formas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  header .container {
    min-height: auto;
    flex-direction: column;
    gap: 22px;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
  }

  .intro-ajuda-grid,
  .orientacao-grid,
  .chamada-card {
    grid-template-columns: 1fr;
  }

  .pix-card {
    max-width: 520px;
  }

  .btn-chamada {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  :root {
    --espaco-lateral: 20px;
  }

  .topbar {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  header .logo img {
    width: 200px;
  }

  header nav {
    width: 100%;
    overflow-x: auto;
  }

  header nav ul {
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 22px;
    padding-bottom: 5px;
  }

  .intro-ajuda,
  .formas-ajuda,
  .orientacao-ajuda {
    padding: 52px 0 58px;
  }

  .formas-grid {
    grid-template-columns: 1fr;
  }

  .forma-card {
    min-height: auto;
  }

  .orientacao-card {
    grid-template-columns: 1fr;
  }

  .chamada-ajuda {
    padding-bottom: 58px;
  }

  .chamada-card {
    padding: 30px 24px;
  }

  .btn-chamada {
    width: 100%;
  }

  .rodape-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rodape-logo img {
    margin: auto;
  }

  .rodape-menu {
    align-items: center;
  }
}

@media (max-width: 480px) {
  #titulo-comoajudar {
    min-height: 94px;
  }

  #titulo-comoajudar h1 {
    font-size: 1.9rem;
  }

  .intro-ajuda-texto h2,
  .secao-topo h2,
  .chamada-card h2 {
    font-size: 1.6rem;
  }

  .pix-card,
  .orientacao-card,
  .contato-ajuda-card {
    padding: 26px 20px;
  }

  .pix-chave span {
    font-size: 0.95rem;
  }
}