/* vars */
:root {
  --primary-color: #143f9d;
  --primary-dark: #0d2a68;
  --primary-light: #2a5acd;
  --secondary-color: #2d509c;
  --accent-color: #e74c3c;
  --white: #fff;
  --gray-light: #f7f9ff;
  --gray: #e6e9f0;
  --gray-dark: #adb5bd;
  --text-color: #212529;
  --text-light: #495057;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 0.375rem;
  --conteudo-width: 1200px;
  --header-height: 200px;
}

main{
  margin-top: 120px;
}

.socio-hero {
  background-color: #0066cc;
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.socio-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.socio-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.socio-options {
  padding: 4rem 0;
}

.socio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.socio-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.socio-card:hover {
  transform: translateY(-10px);
}

.socio-icon {
  font-size: 3rem;
  color: #0078d7;
  margin-bottom: 1rem;
}

.socio-card h3 {
  margin-bottom: 1rem;
  color: #333;
}

.socio-card p {
  margin-bottom: 1.5rem;
  color: #666;
}

.parceiros-seccao {
  padding: 4rem 0;
  background-color: #f2f2f2;
}

.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
}

.partner-logo img {
  max-width: 80%;
  max-height: 80%;
}

.btn-donate {
  background-color: white;
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-donate:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Estilos para os modais de informação */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalopen 0.4s;
}

@keyframes modalopen {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.close-modal:hover {
  color: #000;
}

.modal-content h2 {
  color: #0078d7;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
}

.modal-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.modal-content li {
  margin-bottom: 0.5rem;
}

.modal-content strong {
  font-weight: bold;
}

.qr-code {
  text-align: center;
  margin: 1.5rem 0;
}

.qr-code img {
  max-width: 200px;
  border: 1px solid #ddd;
  padding: 10px;
}

@media (max-width: 768px) {
  .voluntario-content {
    grid-template-columns: 1fr;
  }

  .socio-grid {
    grid-template-columns: 1fr;
  }

  .socio-title {
    font-size: 2rem;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 1.5rem;
  }
}