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

body {
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: #1f2937;
  line-height: 1.65;
  background-color: #ffffff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Faixa superior de idiomas */
.faixa-superior {
  background: #991b1b;
  color: #fff;
  font-size: 0.82rem;
  padding: 0.4rem 0;
}

.faixa-conteudo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.idiomas {
  display: flex;
  gap: 0.3rem;
}

.idiomas button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
  transition: all 0.2s;
}

.idiomas button.ativo,
.idiomas button:hover {
  background: #ffffff;
  color: #991b1b;
}

/* Cabeçalho principal */
.topo {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topo .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo .cruz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
  font-size: 1.65rem;
  border-radius: 8px;
}

.logo h1 {
  font-size: 1.05rem;
  line-height: 1.15;
  color: #111827;
}

.logo small {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
}

.menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.menu a:hover {
  color: #dc2626;
  border-bottom-color: #dc2626;
}

/* Hero Banner Full-Width com imagem de fundo */
.hero {
  background-image: url("../img/voluntarios.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.72) 55%, rgba(17, 24, 39, 0.45) 100%);
  padding: 5.5rem 0 7rem 0;
}

.hero-conteudo {
  max-width: 720px;
  margin: 0;
  padding-left: max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
  color: #ffffff;
}

.badge-hero {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.hero-conteudo h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  color: #ffffff;
}

.hero-conteudo p {
  font-size: 1.1rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
}

.hero-botoes {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-principal {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.65rem;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  transition: background 0.2s;
}

.btn-principal:hover {
  background: #b91c1c;
}

.btn-secundario {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1.5px solid #ffffff;
  text-decoration: none;
  padding: 0.85rem 1.65rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.2s;
}

.btn-secundario:hover {
  background: #ffffff;
  color: #111827;
}

/* Barra flutuante de Pilares */
.pilares-wrapper {
  margin-top: -3.2rem;
  position: relative;
  z-index: 10;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pilar-card {
  background: #ffffff;
  padding: 1.35rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #dc2626;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pilar-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.pilar-icone.texto-icone {
  font-size: 0.95rem;
}

.pilar-card h3 {
  font-size: 1rem;
  color: #111827;
}

.pilar-card p {
  font-size: 0.86rem;
  color: #6b7280;
}

/* Seções Gerais */
.secao {
  padding: 4.5rem 0;
}

.secao-clara {
  background: #f3f4f6;
}

.secao-escura {
  background: #1f2937;
  color: #f9fafb;
}

.titulo-central {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 2.25rem;
  color: #111827;
}

.titulo-central.claro {
  color: #ffffff;
}

/* Sobre Nós em 2 colunas */
.sobre-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sobre-texto h2 {
  font-size: 1.9rem;
  color: #111827;
  margin-bottom: 1rem;
}

.sobre-texto p {
  font-size: 1.08rem;
  color: #4b5563;
}

.sobre-foto img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: block;
}

/* Projetos em 4 colunas */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.projeto-card {
  background: #ffffff;
  padding: 1.75rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

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

.projeto-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #dc2626;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.projeto-card h3 {
  font-size: 1.12rem;
  color: #111827;
  margin-bottom: 0.6rem;
}

.projeto-card p {
  color: #4b5563;
  font-size: 0.92rem;
}

/* Doações em layout lateral */
.doacoes-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 2.5rem;
}

.doacoes-info h2 {
  font-size: 1.8rem;
  color: #991b1b;
  margin-bottom: 0.6rem;
}

.doacoes-info p {
  color: #374151;
  margin-bottom: 1.25rem;
}

.valores-pix {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.valor-btn {
  padding: 0.55rem 1.15rem;
  border: 1.5px solid #dc2626;
  background: #ffffff;
  color: #dc2626;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.valor-btn.ativo,
.valor-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

.valor-selecionado {
  margin-bottom: 0;
  font-size: 1rem;
}

.pix-card {
  background: #ffffff;
  padding: 1.85rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pix-label {
  font-size: 0.88rem;
  color: #6b7280;
}

.pix-chave {
  font-size: 1.25rem;
  color: #111827;
  background: #f3f4f6;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  width: 100%;
}

.feedback {
  font-size: 0.88rem;
  font-weight: 600;
  color: #15803d;
  min-height: 1.2rem;
}

/* Contato em 4 colunas */
.contato-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.contato-item {
  background: rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contato-item h3 {
  font-size: 0.95rem;
  color: #f87171;
  margin-bottom: 0.45rem;
}

.contato-item p,
.contato-item a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.94rem;
}

.contato-item a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.redes-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.redes-links span {
  display: none;
}

.rodape {
  background: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 1.35rem 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsividade */
@media (max-width: 960px) {
  .pilares-grid,
  .projetos-grid,
  .contato-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre-split,
  .doacoes-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .pilares-grid,
  .projetos-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .hero-conteudo h2 {
    font-size: 1.65rem;
  }

  .faixa-conteudo {
    flex-direction: column;
    text-align: center;
  }
}
